rkwagner commented on issue #13233:
URL: https://github.com/apache/hudi/issues/13233#issuecomment-2859909913

   I actually do use `logicalType: timestamp-millis` in both actual files.  
When I threw a debug point in, I saw that Hudi was able to see these files and 
their contents, but overwrite the values to TimestampType and later 
timestamp-micros at these lines since the table itself wasn't defined.
   
   Recasting from millis to TimestampType:
   
https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/internal/schema/convert/AvroInternalSchemaConverter.java#L356
   
   After that, Recasting from TimestampType to Micros:
   
https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/internal/schema/convert/AvroInternalSchemaConverter.java#L546


-- 
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