[ 
https://issues.apache.org/jira/browse/ARROW-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430225#comment-16430225
 ] 

ASF GitHub Bot commented on ARROW-2414:
---------------------------------------

xhochy closed pull request #1850: ARROW-2414: Fix a variety of typos.
URL: https://github.com/apache/arrow/pull/1850
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/cpp/src/plasma/format/plasma.fbs b/cpp/src/plasma/format/plasma.fbs
index 66cb00f77..71e6f5c19 100644
--- a/cpp/src/plasma/format/plasma.fbs
+++ b/cpp/src/plasma/format/plasma.fbs
@@ -222,7 +222,7 @@ enum ObjectStatus:int {
   Remote,
   // Object is not stored in the system.
   Nonexistent,
-  // Object is currently transferred from a remote Plasma store the the local
+  // Object is currently transferred from a remote Plasma store the local
   // Plasma Store.
   Transfer
 }
diff --git a/format/Guidelines.md b/format/Guidelines.md
index ff3a63d9a..7b5f3a11b 100644
--- a/format/Guidelines.md
+++ b/format/Guidelines.md
@@ -32,4 +32,4 @@ Consumption of vectors should at least convert the 
unsupported input vectors to
 ## Extensibility
 An execution engine implementor can also extend their memory representation 
with their own vectors internally as long as they are never exposed. Before 
sending data to another system expecting Arrow data these custom vectors should 
be converted to a type that exist in the Arrow spec.
 An example of this is operating on compressed data.
-These custom vectors are not exchanged externaly and there is no support for 
custom metadata.
+These custom vectors are not exchanged externally and there is no support for 
custom metadata.
diff --git a/format/Layout.md b/format/Layout.md
index 963202f9f..2f4b3a77b 100644
--- a/format/Layout.md
+++ b/format/Layout.md
@@ -21,7 +21,7 @@
 
 ## Definitions / Terminology
 
-Since different projects have used differents words to describe various
+Since different projects have used different words to describe various
 concepts, here is a small glossary to help disambiguate.
 
 * Array: a sequence of values with known length all having the same type.
@@ -273,7 +273,7 @@ A list-array is represented by the combination of the 
following:
 
 The offsets array encodes a start position in the values array, and the length
 of the value in each slot is computed using the first difference with the next
-element in the offsets array. For example. the position and length of slot j is
+element in the offsets array. For example, the position and length of slot j is
 computed as:
 
 ```
@@ -610,7 +610,7 @@ reinterpreted as a non-nested array.
 Similar to structs, a particular child array may have a non-null slot
 even if the null bitmap of the parent union array indicates the slot is
 null.  Additionally, a child array may have a non-null slot even if
-the the types array indicates that a slot contains a different type at the 
index.
+the types array indicates that a slot contains a different type at the index.
 
 ## Dictionary encoding
 
diff --git a/format/Metadata.md b/format/Metadata.md
index 893b0a474..219df2124 100644
--- a/format/Metadata.md
+++ b/format/Metadata.md
@@ -68,7 +68,7 @@ table Field {
 The `type` is the logical type of the field. Nested types, such as List,
 Struct, and Union, have a sequence of child fields.
 
-a JSON representation of the schema is also provided:
+A JSON representation of the schema is also provided:
 Field:
 ```
 {
@@ -373,7 +373,7 @@ according to the child logical type (e.g. `List<Utf8>` vs. 
`List<Boolean>`).
 
 We specify two logical types for variable length bytes:
 
-* `Utf8` data is unicode values with UTF-8 encoding
+* `Utf8` data is Unicode values with UTF-8 encoding
 * `Binary` is any other variable length bytes
 
 These types both have the same memory layout as the nested type `List<UInt8>`,
diff --git 
a/java/memory/src/main/java/org/apache/arrow/memory/AllocationManager.java 
b/java/memory/src/main/java/org/apache/arrow/memory/AllocationManager.java
index 419be3429..e1149774c 100644
--- a/java/memory/src/main/java/org/apache/arrow/memory/AllocationManager.java
+++ b/java/memory/src/main/java/org/apache/arrow/memory/AllocationManager.java
@@ -275,7 +275,7 @@ public boolean transferBalance(final BufferLedger target) {
     }
 
     /**
-     * Print the current ledger state to a the provided StringBuilder.
+     * Print the current ledger state to the provided StringBuilder.
      *
      * @param sb        The StringBuilder to populate.
      * @param indent    The level of indentation to position the data.
@@ -329,7 +329,7 @@ private void inc() {
      * should release its
      * ownership back to the AllocationManager
      *
-     * @param decrement amout to decrease the reference count by
+     * @param decrement amount to decrease the reference count by
      * @return the new reference count
      */
     public int decrement(int decrement) {
diff --git 
a/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java 
b/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java
index 2f70f7372..4804b6b02 100644
--- a/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java
+++ b/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java
@@ -802,7 +802,7 @@ public boolean reserve(int nBytes) {
     }
 
     /**
-     * Allocate the a buffer of the requested size.
+     * Allocate a buffer of the requested size.
      * <p>
      * <p>
      * The implementation of the allocator's inner class provides this.
diff --git 
a/java/vector/src/main/java/org/apache/arrow/vector/DensityAwareVector.java 
b/java/vector/src/main/java/org/apache/arrow/vector/DensityAwareVector.java
index 2915661a4..b4daba040 100644
--- a/java/vector/src/main/java/org/apache/arrow/vector/DensityAwareVector.java
+++ b/java/vector/src/main/java/org/apache/arrow/vector/DensityAwareVector.java
@@ -44,7 +44,7 @@
  * varchar length).
  *
  * Also from container vectors, we propagate the density down
- * the the inner vectors so that they can use it appropriately.
+ * the inner vectors so that they can use it appropriately.
  */
 public interface DensityAwareVector {
 
diff --git a/python/doc/source/memory.rst b/python/doc/source/memory.rst
index 34664b898..cd8983a6d 100644
--- a/python/doc/source/memory.rst
+++ b/python/doc/source/memory.rst
@@ -84,7 +84,7 @@ IO objects:
 * Write-only files supporting random access
 * File supporting reads, writes, and random access
 
-In the the interest of making these objects behave more like Python's built-in
+In the interest of making these objects behave more like Python's built-in
 ``file`` objects, we have defined a :class:`~pyarrow.NativeFile` base class
 which is intended to mimic Python files and able to be used in functions where
 a Python file (such as ``file`` or ``BytesIO``) is expected.


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> A variety of typos can be found
> -------------------------------
>
>                 Key: ARROW-2414
>                 URL: https://issues.apache.org/jira/browse/ARROW-2414
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Bruce Mitchener
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 0.10.0
>
>
> This is just so that I can submit a PR for a bunch of typo fixes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to