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 72D0C200BA6 for ; Tue, 4 Oct 2016 00:17:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6FD41160AE5; Mon, 3 Oct 2016 22:17:54 +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 AA73A160ADC for ; Tue, 4 Oct 2016 00:17:53 +0200 (CEST) Received: (qmail 14607 invoked by uid 500); 3 Oct 2016 22:17:52 -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 14598 invoked by uid 99); 3 Oct 2016 22:17:52 -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; Mon, 03 Oct 2016 22:17:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8E11DDFB89; Mon, 3 Oct 2016 22:17:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: julien@apache.org To: commits@arrow.apache.org Message-Id: <7530e5a4dd3f4e7c895c8adcf2568f91@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: arrow git commit: ARROW-301: Add user field metadata to IPC schemas Date: Mon, 3 Oct 2016 22:17:52 +0000 (UTC) archived-at: Mon, 03 Oct 2016 22:17:54 -0000 Repository: arrow Updated Branches: refs/heads/master c7b0480f5 -> c3930a062 ARROW-301: Add user field metadata to IPC schemas Author: Julien Le Dem Closes #154 from julienledem/custom and squashes the following commits: 47a02b7 [Julien Le Dem] ARROW-301: Add user field metadata to IPC schemas Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/c3930a06 Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/c3930a06 Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/c3930a06 Branch: refs/heads/master Commit: c3930a062b2d71e3d277d4db1785e24e9183276f Parents: c7b0480 Author: Julien Le Dem Authored: Mon Oct 3 15:17:32 2016 -0700 Committer: Julien Le Dem Committed: Mon Oct 3 15:17:32 2016 -0700 ---------------------------------------------------------------------- format/Message.fbs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/c3930a06/format/Message.fbs ---------------------------------------------------------------------- diff --git a/format/Message.fbs b/format/Message.fbs index e1758bf..3d877a2 100644 --- a/format/Message.fbs +++ b/format/Message.fbs @@ -119,6 +119,16 @@ table VectorLayout { type: VectorType; } + +/// ---------------------------------------------------------------------- +/// user defined key value pairs to add custom metadata to arrow +/// key namespacing is the responsibility of the user + +table KeyValue { + key: string; + value: [ubyte]; +} + /// ---------------------------------------------------------------------- /// A field represents a named column in a record / row batch or child of a /// nested type. @@ -141,6 +151,8 @@ table Field { /// does not include children /// each recordbatch will return instances of those Buffers. layout: [ VectorLayout ]; + // User-defined metadata + custom_metadata: [ KeyValue ]; } /// ---------------------------------------------------------------------- @@ -159,6 +171,8 @@ table Schema { endianness: Endianness=Little; fields: [Field]; + // User-defined metadata + custom_metadata: [ KeyValue ]; } /// ----------------------------------------------------------------------