Anandonzy commented on issue #8844:
URL: https://github.com/apache/hudi/issues/8844#issuecomment-1569952357

   > Now hive supports timestamp, but there is another issue,
   > 
   > 
https://github.com/apache/hudi/blob/9c7d856656f3f3a01c073a2aed444d90c740c913/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/util/HiveSchemaUtil.java#L235-L244
   > 
   > I don't know why we don't convert `TIMESTAMP_MILLIS` to `TIMESTAMP`.
   > 
   > @danny0405 do you know the reason?
   
   I’m not sure if what we’re talking about is a problem. Before I tested it, I 
created a hudi table in flink1.16, the field is `timestamp (3)`, and then 
synchronized to hive, and found that it became a `long` type, and then  select 
`rt` table after compaction, the value of the type of this field cannot be 
checked. @danny0405 tell me this is a bug.
   You provide this code maybe can  solve  this problem.If you have been test 
this code, I can modify  my code to compile.I will test on my env.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to