This is an automated email from the ASF dual-hosted git repository.

thisisnic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2354ca8d86e MINOR: [Docs] Fix spelling in documentation and comments 
(#55722)
2354ca8d86e is described below

commit 2354ca8d86e5fa2d10c9237216693d9d5c605c54
Author: Sumedh Pimplikar <[email protected]>
AuthorDate: Sun Nov 22 19:52:35 2026 +0530

    MINOR: [Docs] Fix spelling in documentation and comments (#55722)
    
    ### Rationale for this change
    While reviewing the codebase, I noticed a few clear spelling and possessive 
errors. Just wanted to get them fixed. These are very small and rather 
unimportant changes, but pretty valid imo. Will try to contribute a lot more to 
Arrow in more meaningful ways in the future!
    
    ### What changes are included in this PR?
    Corrects typos in documentation and source comments. No behavior changes.
    
    ### Are these changes tested?
    Ran git diff --check. No runtime tests were needed or run for these 
text-only edits.
    
    ### Are there any user-facing changes?
    Documentation wording only.
    
    ### Was AI used for this PR?
    
    In accordance to the [AI generation 
guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code),
 please disclose below whether and how AI was used in this PR.
    
    **PR code and description written by:**
    
    - [x] Human
    - [ ] AI
    
    **Reviewed before submission by:**
    
    - [x] Human
    - [ ] AI
    - [ ] Not reviewed
    
    Authored-by: Sumedh Pimplikar <[email protected]>
    Signed-off-by: Nic Crane <[email protected]>
---
 cpp/examples/tutorial_examples/dataset_example.cc        | 2 +-
 cpp/src/arrow/acero/swiss_join.cc                        | 2 +-
 cpp/src/arrow/chunk_resolver.h                           | 2 +-
 cpp/src/arrow/util/dict_util.cc                          | 4 ++--
 docs/source/cpp/compute.rst                              | 2 +-
 docs/source/format/CDataInterface/PyCapsuleInterface.rst | 2 +-
 docs/source/format/Columnar.rst                          | 2 +-
 docs/source/format/Intro.rst                             | 2 +-
 docs/source/python/data.rst                              | 2 +-
 docs/source/python/interchange_protocol.rst              | 2 +-
 r/src/arrow_types.h                                      | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/cpp/examples/tutorial_examples/dataset_example.cc 
b/cpp/examples/tutorial_examples/dataset_example.cc
index c32cf6ec4c6..996ecda63dc 100644
--- a/cpp/examples/tutorial_examples/dataset_example.cc
+++ b/cpp/examples/tutorial_examples/dataset_example.cc
@@ -76,7 +76,7 @@ arrow::Result<std::string> CreateExampleParquetDataset(
 }
 
 arrow::Status PrepareEnv() {
-  // Initilize the compute module to register the required kernels for Dataset
+  // Initialize the compute module to register the required kernels for Dataset
   ARROW_RETURN_NOT_OK(arrow::compute::Initialize());
   // Get our environment prepared for reading, by setting up some quick 
writing.
   ARROW_ASSIGN_OR_RAISE(auto src_table, CreateTable())
diff --git a/cpp/src/arrow/acero/swiss_join.cc 
b/cpp/src/arrow/acero/swiss_join.cc
index 9b2ebc33e15..604b68cb8fd 100644
--- a/cpp/src/arrow/acero/swiss_join.cc
+++ b/cpp/src/arrow/acero/swiss_join.cc
@@ -1963,7 +1963,7 @@ Status JoinResidualFilter::FilterLeftSemi(const 
ExecBatch& keypayload_batch,
   match_iterator.SetLookupResult(num_batch_rows, batch_start_row, 
match_bitvector,
                                  key_ids, no_duplicate_keys, key_to_payload_);
   int num_matches_next = 0;
-  // Used to not only collect distinct row ids, but also skip unecessary 
matches in the
+  // Used to not only collect distinct row ids, but also skip unnecessary 
matches in the
   // next batch.
   //
   int row_id_last = JoinMatchIterator::kInvalidRowId;
diff --git a/cpp/src/arrow/chunk_resolver.h b/cpp/src/arrow/chunk_resolver.h
index fbf84876e3d..b61f002486a 100644
--- a/cpp/src/arrow/chunk_resolver.h
+++ b/cpp/src/arrow/chunk_resolver.h
@@ -191,7 +191,7 @@ class ARROW_EXPORT ChunkResolver {
       // Negative logical indices can become large values when cast to 
unsigned, and
       // they are gracefully handled by ResolveManyImpl, but both the chunk 
index
       // and the index in chunk values will be undefined in these cases. This
-      // happend because int8_t(-1) == uint8_t(255) and 255 could be a valid
+      // happened because int8_t(-1) == uint8_t(255) and 255 could be a valid
       // logical index in the chunked array.
       using U = std::make_unsigned_t<IndexType>;
       ResolveManyImpl(n_indices, reinterpret_cast<const U*>(logical_index_vec),
diff --git a/cpp/src/arrow/util/dict_util.cc b/cpp/src/arrow/util/dict_util.cc
index 00f72746604..5edd5ec2af6 100644
--- a/cpp/src/arrow/util/dict_util.cc
+++ b/cpp/src/arrow/util/dict_util.cc
@@ -42,7 +42,7 @@ int64_t LogicalNullCount(const ArraySpan& span) {
       indices_valid_bitmap, span.offset, span.length,
       [=, &null_count](int64_t position, int64_t length, bool valid) {
         if (valid) {
-          // This is a run of valid indicies, so we need to look each of them 
up
+          // This is a run of valid indices, so we need to look each of them up
           // in the dictionary array to see if they are null
           for (int64_t i = position; i < position + length; i++) {
             CType index = indices_data[i];
@@ -74,7 +74,7 @@ void SetLogicalNullBits(const ArraySpan& span, uint8_t* 
out_bitmap, int64_t out_
       indices_valid_bitmap, span.offset, span.length,
       [=](int64_t position, int64_t length, bool valid) {
         if (valid) {
-          // This is a run of valid indicies, so we need to look each of them 
up
+          // This is a run of valid indices, so we need to look each of them up
           // in the dictionary array to see if they are null
           for (int64_t i = position; i < position + length; i++) {
             CType index = indices_data[i];
diff --git a/docs/source/cpp/compute.rst b/docs/source/cpp/compute.rst
index a328d7d0765..4c2df6b3176 100644
--- a/docs/source/cpp/compute.rst
+++ b/docs/source/cpp/compute.rst
@@ -1621,7 +1621,7 @@ For timestamps inputs with non-empty timezone, localized 
timestamp components wi
   used to set the starting day of the week using ISO convention (Monday=1, 
Sunday=7).
   :member:`DayOfWeekOptions::week_start` parameter is not affected by 
:member:`DayOfWeekOptions::count_from_zero`.
 
-* \(2) First ISO week has the majority (4 or more) of it's days in January. 
ISO year
+* \(2) First ISO week has the majority (4 or more) of its days in January. ISO 
year
   starts with the first ISO week. ISO week starts on Monday.
   See `ISO 8601 week date definition`_ for more details.
 
diff --git a/docs/source/format/CDataInterface/PyCapsuleInterface.rst 
b/docs/source/format/CDataInterface/PyCapsuleInterface.rst
index 06315a4b398..b19d094f31a 100644
--- a/docs/source/format/CDataInterface/PyCapsuleInterface.rst
+++ b/docs/source/format/CDataInterface/PyCapsuleInterface.rst
@@ -507,7 +507,7 @@ enough to support this is to check whether ``pa.Array`` has 
the
   # NEW METHOD
   def to_arrow(self) -> pa.Array:
       # PyArrow added support for constructing arrays from objects implementing
-      # __arrow_c_array__ in the same version it added the method for it's own
+      # __arrow_c_array__ in the same version it added the method for its own
       # arrays. So we can use hasattr to check if the method is available as
       # a proxy for checking the PyArrow version.
       if hasattr(pa.Array, "__arrow_c_array__"):
diff --git a/docs/source/format/Columnar.rst b/docs/source/format/Columnar.rst
index f95d7e80769..7e4c89d54c4 100644
--- a/docs/source/format/Columnar.rst
+++ b/docs/source/format/Columnar.rst
@@ -1130,7 +1130,7 @@ A run must have a length of at least 1. This means the 
values in the
 run ends array all are positive and in strictly ascending order. A run end 
cannot be
 null.
 
-The REE parent has no validity bitmap, and it's null count field should always 
be 0.
+The REE parent has no validity bitmap, and its null count field should always 
be 0.
 Null values are encoded as runs with the value null.
 
 As an example, you could have the following data: ::
diff --git a/docs/source/format/Intro.rst b/docs/source/format/Intro.rst
index e98bd40e010..05f8a39c95f 100644
--- a/docs/source/format/Intro.rst
+++ b/docs/source/format/Intro.rst
@@ -297,7 +297,7 @@ saved in the schema and the values of a specific field 
(key) are saved in
 the child array.
 
 Since child arrays are independent, Arrow does not enforce physical
-consistency between the struct's validity bitmap and those of it's children.
+consistency between the struct's validity bitmap and those of its children.
 Logically, a struct row is only valid if both the parent and the child
 bitmaps have a value of 1 for that slot (a logical AND operation).
 This allows for "hidden" data to exist in child arrays at null struct
diff --git a/docs/source/python/data.rst b/docs/source/python/data.rst
index 22a3114fdd2..9863e7597d0 100644
--- a/docs/source/python/data.rst
+++ b/docs/source/python/data.rst
@@ -942,7 +942,7 @@ It can also be sent between languages using the :ref:`C 
stream interface <c-stre
 Conversion of RecordBatch to Tensor
 -----------------------------------
 
-Each array of the ``RecordBatch`` has it's own contiguous memory that is not 
necessarily
+Each array of the ``RecordBatch`` has its own contiguous memory that is not 
necessarily
 adjacent to other arrays. A different memory structure that is used in machine 
learning
 libraries is a two dimensional array (also called a 2-dim tensor or a matrix) 
which takes
 only one contiguous block of memory.
diff --git a/docs/source/python/interchange_protocol.rst 
b/docs/source/python/interchange_protocol.rst
index a586a364ffc..26a52587d6c 100644
--- a/docs/source/python/interchange_protocol.rst
+++ b/docs/source/python/interchange_protocol.rst
@@ -46,7 +46,7 @@ From PyArrow to other libraries: ``__dataframe__()`` method
 -----------------------------------------------------------
 
 The ``__dataframe__()`` method creates a new exchange object that
-the consumer library can take and construct an object of it's own.
+the consumer library can take and construct an object of its own.
 
 .. code-block:: python
 
diff --git a/r/src/arrow_types.h b/r/src/arrow_types.h
index 524182f3824..62a9f11f6db 100644
--- a/r/src/arrow_types.h
+++ b/r/src/arrow_types.h
@@ -133,7 +133,7 @@ bool can_reuse_memory(SEXP x, const 
std::shared_ptr<arrow::DataType>& type);
 // entirely in C++. Other types of objects are converted using the
 // infer_type() S3 generic and the as_arrow_array() S3 generic.
 // For data.frame, we need to recurse because the internal conversion
-// can't accomodate calling into R. If the user specifies a target type
+// can't accommodate calling into R. If the user specifies a target type
 // and that target type is an ExtensionType, we also can't convert
 // natively (but we check for this separately when it applies).
 static inline bool can_convert_native(SEXP x) {

Reply via email to