You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2017/02/08 16:20:55 UTC

arrow git commit: ARROW-351: Time type has no unit

Repository: arrow
Updated Branches:
  refs/heads/master 1407abfc9 -> b99d049c3


ARROW-351: Time type has no unit

Author: Julien Le Dem <ju...@dremio.com>

Closes #328 from julienledem/arrow_351 and squashes the following commits:

2497ee3 [Julien Le Dem] ARROW-351: Time type has no unit


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

Branch: refs/heads/master
Commit: b99d049c3d1894908b7e52774eb657675dc1f439
Parents: 1407abf
Author: Julien Le Dem <ju...@dremio.com>
Authored: Wed Feb 8 11:20:48 2017 -0500
Committer: Wes McKinney <we...@twosigma.com>
Committed: Wed Feb 8 11:20:48 2017 -0500

----------------------------------------------------------------------
 format/Message.fbs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/b99d049c/format/Message.fbs
----------------------------------------------------------------------
diff --git a/format/Message.fbs b/format/Message.fbs
index 028c56a..86dfa87 100644
--- a/format/Message.fbs
+++ b/format/Message.fbs
@@ -79,11 +79,12 @@ table Decimal {
 table Date {
 }
 
+enum TimeUnit: short { SECOND, MILLISECOND, MICROSECOND, NANOSECOND }
+
 table Time {
+  unit: TimeUnit;
 }
 
-enum TimeUnit: short { SECOND, MILLISECOND, MICROSECOND, NANOSECOND }
-
 /// time from the Unix epoch, 00:00:00.000 on 1 January 1970, UTC.
 table Timestamp {
   unit: TimeUnit;