Repository: arrow Updated Branches: refs/heads/master 681479dc7 -> e5a08dd8f
ARROW-1098. [Format] modify document mistake Author: LynnYuan <yuanxiaol...@inspur.com> Closes #811 from LynnYuanInspur/lynn-doc and squashes the following commits: b6ec6c05 [LynnYuan] ARROW-1098. [Format] modify document mistake Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/e5a08dd8 Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/e5a08dd8 Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/e5a08dd8 Branch: refs/heads/master Commit: e5a08dd8f707663a725ac8d002a9484e7b992847 Parents: 681479d Author: LynnYuan <yuanxiaol...@inspur.com> Authored: Tue Jul 4 11:26:34 2017 -0400 Committer: Wes McKinney <wes.mckin...@twosigma.com> Committed: Tue Jul 4 11:26:34 2017 -0400 ---------------------------------------------------------------------- format/Layout.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/e5a08dd8/format/Layout.md ---------------------------------------------------------------------- diff --git a/format/Layout.md b/format/Layout.md index 1b85abf..1e817ff 100644 --- a/format/Layout.md +++ b/format/Layout.md @@ -552,7 +552,7 @@ will have the following layout: |Bytes 0-3 | Bytes 4-7 | Bytes 8-11 | Bytes 12-15 | Bytes 16-19 | Bytes 20-23 | Bytes 24-63 | |------------|-------------|-------------|-------------|-------------|--------------|-----------------------| - | 1 | unspecified | unspecified | unspecified | 4 | unspecified | unspecified (padding) | + | 5 | unspecified | unspecified | unspecified | 4 | unspecified | unspecified (padding) | * u1 (float): * Length: 6, Null count: 4 @@ -605,7 +605,7 @@ the the types array indicates that a slot contains a different type at the index ## Dictionary encoding When a field is dictionary encoded, the values are represented by an array of Int32 representing the index of the value in the dictionary. -The Dictionary is received as a DictionaryBacth whose id is referenced by a dictionary attribute defined in the metadata ([Message.fbs][7]) in the Field table. +The Dictionary is received as a DictionaryBatch whose id is referenced by a dictionary attribute defined in the metadata ([Message.fbs][7]) in the Field table. The dictionary has the same layout as the type of the field would dictate. Each entry in the dictionary can be accessed by its index in the DictionaryBatch. When a Schema references a Dictionary id, it must send a DictionaryBatch for this id before any RecordBatch.