arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject arrow git commit: ARROW-211: [Format] Fixed typos in layout examples
Date Tue, 07 Jun 2016 06:25:37 GMT
Repository: arrow
Updated Branches:
  refs/heads/master 65740950c -> ce2fe7a78


ARROW-211: [Format] Fixed typos in layout examples

Just a few typo fixes according to the ticket.

Author: Smyatkin Maxim <smyatkinmaxim@gmail.com>

Closes #86 from Smyatkin-Maxim/ARROW-211 and squashes the following commits:

6cefba6 [Smyatkin Maxim] ARROW-211: [Format] Fixed typos in layout examples


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/ce2fe7a7
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/ce2fe7a7
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/ce2fe7a7

Branch: refs/heads/master
Commit: ce2fe7a782c9c1f84a6ccdc2b7b00768d535d8fc
Parents: 6574095
Author: Smyatkin Maxim <smyatkinmaxim@gmail.com>
Authored: Mon Jun 6 23:25:31 2016 -0700
Committer: Wes McKinney <wesm@apache.org>
Committed: Mon Jun 6 23:25:31 2016 -0700

----------------------------------------------------------------------
 format/Layout.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/ce2fe7a7/format/Layout.md
----------------------------------------------------------------------
diff --git a/format/Layout.md b/format/Layout.md
index 9de0479..815c47f 100644
--- a/format/Layout.md
+++ b/format/Layout.md
@@ -299,7 +299,7 @@ will be be represented as follows:
 
   | Bytes 0-3  | Bytes 4-7  | Bytes 8-11 | Bytes 12-15 | Bytes 16-63 |
   |------------|------------|------------|-------------|-------------|
-  | 0          |  2         |  6         |  7          | unspecified |
+  | 0          |  2         |  5         |  6          | unspecified |
 
 * Values array (`List<byte>`)
   * Length: 6, Null count: 1
@@ -368,7 +368,7 @@ The layout for [{'joe', 1}, {null, 2}, null, {'mark', 4}] would be:
 
       | Byte 0 (validity bitmap) | Bytes 1-7             |
       |--------------------------|-----------------------|
-      | 00011101                 | 0 (padding)           |
+      | 00001101                 | 0 (padding)           |
 
     * Offsets buffer:
 
@@ -472,7 +472,7 @@ An example layout for logical union of:
       | 1.2, 3.4  | unspecified |
 
 
-  * Field-1 array (f: float):
+  * Field-1 array (i: int32):
     * Length: 1, nulls: 0
     * Null bitmap buffer: Not required
 
@@ -499,7 +499,7 @@ union, it has some advantages that may be desirable in certain use cases:
 
 For the union array:
 
-[{u0=5}, {u1=1.2}, {u2='joe'}, {u1=3.4}, {u0=4}, 'mark']
+[{u0=5}, {u1=1.2}, {u2='joe'}, {u1=3.4}, {u0=4}, {u2='mark'}]
 
 will have the following layout:
 ```


Mime
View raw message