Karen Coppage created HIVE-21216:
------------------------------------

             Summary: Write Parquet INT64 timestamp
                 Key: HIVE-21216
                 URL: https://issues.apache.org/jira/browse/HIVE-21216
             Project: Hive
          Issue Type: New Feature
          Components: Hive
            Reporter: Karen Coppage
            Assignee: Karen Coppage


[WIP]
This patch enables Hive to start writing int64 timestamps in Parquet.

With Parquet version 1.11, a new timestamp LogicalType with base INT64 and the 
following metadata is introduced:
boolean isAdjustedToUtc: marks whether the timestamp is converted to UTC (aka 
Instant semantics) or not (LocalDateTime semantics)
enum TimeUnit (NANOS, MICROS, MILLIS): granularity of timestamp

The timestamp will have LocalDateTime semantics (not converted to UTC).
Time unit (granularity) will be determined by the user. Default is milliseconds.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to