Skip to content

Commit

Permalink
ARROW-211: [Format] Fixed typos in layout examples
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Smyatkin-Maxim authored and wesm committed Jun 7, 2016
1 parent 6574095 commit ce2fe7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions format/Layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
```
Expand Down

0 comments on commit ce2fe7a

Please sign in to comment.