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

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


The following commit(s) were added to refs/heads/master by this push:
     new b4dafa5  ARROW-2414: Fix a variety of typos.
b4dafa5 is described below

commit b4dafa509a4451ca55462288e04460ff4fd2b9fb
Author: Bruce Mitchener <bruce.mitche...@gmail.com>
AuthorDate: Mon Apr 9 09:56:47 2018 +0200

    ARROW-2414: Fix a variety of typos.
    
    Author: Bruce Mitchener <bruce.mitche...@gmail.com>
    
    Closes #1850 from waywardmonkeys/arrow-2414-fix-doc-typos and squashes the 
following commits:
    
    4fc161d <Bruce Mitchener> Fix a variety of typos.
---
 cpp/src/plasma/format/plasma.fbs                                    | 2 +-
 format/Guidelines.md                                                | 2 +-
 format/Layout.md                                                    | 6 +++---
 format/Metadata.md                                                  | 4 ++--
 .../src/main/java/org/apache/arrow/memory/AllocationManager.java    | 4 ++--
 .../memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java | 2 +-
 .../src/main/java/org/apache/arrow/vector/DensityAwareVector.java   | 2 +-
 python/doc/source/memory.rst                                        | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/cpp/src/plasma/format/plasma.fbs b/cpp/src/plasma/format/plasma.fbs
index 66cb00f..71e6f5c 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 ff3a63d..7b5f3a1 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 963202f..2f4b3a7 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 893b0a4..219df21 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 419be34..e114977 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 class AllocationManager {
     }
 
     /**
-     * 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 @@ public class AllocationManager {
      * 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 2f70f73..4804b6b 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 abstract class BaseAllocator extends Accountant 
implements BufferAllocato
     }
 
     /**
-     * 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 2915661..b4daba0 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 @@ package org.apache.arrow.vector;
  * 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 34664b8..cd8983a 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.

-- 
To stop receiving notification emails like this one, please contact
u...@apache.org.

Reply via email to