[
https://issues.apache.org/jira/browse/HUDI-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200473#comment-17200473
]
Udit Mehrotra commented on HUDI-83:
-----------------------------------
[~FelixKJose] I did a quick test. To able to sync timestamp column as
corresponding timestamp type in Hive we would have to modify Hudi code and add
special handling for Timestamp type
[https://github.com/apache/hudi/blob/master/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/util/HiveSchemaUtil.java#L164]
. Right now the logic will automatically sync timestamp type as `bigint` for
Hive.
I will try to make this change and do a test to check if Hive is able to
understand it. You can also try the same if you want.
> Map Timestamp type in spark to corresponding Timestamp type in Hive during
> Hive sync
> ------------------------------------------------------------------------------------
>
> Key: HUDI-83
> URL: https://issues.apache.org/jira/browse/HUDI-83
> Project: Apache Hudi
> Issue Type: Bug
> Components: Hive Integration, Usability
> Reporter: Vinoth Chandar
> Assignee: cdmikechen
> Priority: Major
> Labels: bug-bash-0.6.0
> Fix For: 0.7.0
>
>
> [https://github.com/apache/incubator-hudi/issues/543] & related issues
--
This message was sent by Atlassian Jira
(v8.3.4#803005)