Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9849D200CBB for ; Tue, 4 Jul 2017 17:26:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 96C39161719; Tue, 4 Jul 2017 15:26:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E66B6161716 for ; Tue, 4 Jul 2017 17:26:40 +0200 (CEST) Received: (qmail 73483 invoked by uid 500); 4 Jul 2017 15:26:40 -0000 Mailing-List: contact commits-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list commits@arrow.apache.org Received: (qmail 73470 invoked by uid 99); 4 Jul 2017 15:26:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2017 15:26:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0E168DFC25; Tue, 4 Jul 2017 15:26:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wesm@apache.org To: commits@arrow.apache.org Message-Id: <9a6871a1d57b47cbb8b56fad3f151a52@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: arrow git commit: ARROW-1098. [Format] modify document mistake Date: Tue, 4 Jul 2017 15:26:40 +0000 (UTC) archived-at: Tue, 04 Jul 2017 15:26:41 -0000 Repository: arrow Updated Branches: refs/heads/master 681479dc7 -> e5a08dd8f ARROW-1098. [Format] modify document mistake Author: LynnYuan 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 Authored: Tue Jul 4 11:26:34 2017 -0400 Committer: Wes McKinney 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.