[ 
https://issues.apache.org/jira/browse/HIVE-10642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dong Chen updated HIVE-10642:
-----------------------------
    Attachment: HIVE-10642-parquet.1.patch

> Update Timestamp type mapping to Parquet 
> -----------------------------------------
>
>                 Key: HIVE-10642
>                 URL: https://issues.apache.org/jira/browse/HIVE-10642
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Dong Chen
>            Assignee: Dong Chen
>         Attachments: HIVE-10642-parquet.1.patch, HIVE-10642-parquet.patch
>
>
> Timestamp in Hive was originally mapped to INT_96 in Parquet before. And 
> inside Parquet it use Binary to save values.
> When working on HIVE-10255, I found predicate with timestamp does not work, 
> since comparing Binary representative of Timestamp value can not give correct 
> relationship.
> Meanwhile, in latest version Parquet, the timestamp is mapped to INT_64. 
> Refer to https://github.com/Parquet/parquet-format/blob/master/LogicalTypes.md
> Therefore, this Jira will update the mapping of Timestamp type in Hive, and 
> keep it backward compatible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to