Re: [I] [SUPPORT]flink 写hudi 同步hive后,timestamp字段为什么是bigint类型,如何才能让同步到hive的字段保持timestamp类型 [hudi]

2024-04-24 Thread via GitHub


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

   As Danny said, 0.14.0 solved this issue.


-- 
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-unsubscr...@hudi.apache.org

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



Re: [I] [SUPPORT]flink 写hudi 同步hive后,timestamp字段为什么是bigint类型,如何才能让同步到hive的字段保持timestamp类型 [hudi]

2024-04-23 Thread via GitHub


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

   >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
   
   @sunmingqiaa can you share the full trace?
   
   


-- 
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-unsubscr...@hudi.apache.org

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



Re: [I] [SUPPORT]flink 写hudi 同步hive后,timestamp字段为什么是bigint类型,如何才能让同步到hive的字段保持timestamp类型 [hudi]

2024-04-23 Thread via GitHub


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

   cc @xicm who is very experienced in Hive.


-- 
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-unsubscr...@hudi.apache.org

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



Re: [I] [SUPPORT]flink 写hudi 同步hive后,timestamp字段为什么是bigint类型,如何才能让同步到hive的字段保持timestamp类型 [hudi]

2024-04-23 Thread via GitHub


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

   i meet this problem just now , how did you solve this problem?


-- 
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-unsubscr...@hudi.apache.org

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



Re: [I] [SUPPORT]flink 写hudi 同步hive后,timestamp字段为什么是bigint类型,如何才能让同步到hive的字段保持timestamp类型 [hudi]

2023-10-24 Thread via GitHub


linrongjun-l commented on issue #9766:
URL: https://github.com/apache/hudi/issues/9766#issuecomment-1778312506

   > > Before release 0.14.0, there is a sync param 
`hive_sync.support_timestamp`, when enabled, the `Timestamp(6)` type would be 
synced as `TIMESTAMP` in hive, since release 0.14.0, all the timestamp type 
would be synced as `TIMESTAMP`.
   > 
   > 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
   
   I also met the same problem, how did you solve it at last?


-- 
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-unsubscr...@hudi.apache.org

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