You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sunmingqiaa (via GitHub)" <gi...@apache.org> on 2023/09/22 02:18:49 UTC

[GitHub] [hudi] sunmingqiaa commented on issue #9766: [SUPPORT]flink 写hudi 同步hive后,timestamp字段为什么是bigint类型,如何才能让同步到hive的字段保持timestamp类型

sunmingqiaa commented on issue #9766:
URL: https://github.com/apache/hudi/issues/9766#issuecomment-1730714209

   thanks for your reply. when i use  hive_sync.support_timestamp enabled ,in hive the field type is TIMESTAMP  indeed. but when i select the value in hive,there is error :Error: java.io.IOException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException: org.apache.hadoop.io.LongWritable cannot be cast to org.apache.hadoop.hive.serde2.io.TimestampWritable 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org