seekforshell commented on issue #10012:
URL: https://github.com/apache/hudi/issues/10012#issuecomment-1803370533

   > Looks like the avro schema is using `timestamp-millis` as the logical data 
type, so in `EventTimeAvroPayload`, did you debug a little bit where the 
`timestamp-micros` come from?
   
   it come from serializer and serializer use baseFileReaderAvroSchema to 
create converter.
   
![image](https://github.com/apache/hudi/assets/8132965/833ea441-2b6e-44a5-b9fa-ec91a0d1b9d1)
   serializer is init here.
   
![image](https://github.com/apache/hudi/assets/8132965/36b5aed3-9381-4ed0-a598-5f09b33e5fdf)
   
   and in this code, SchemaConverters will translate TimestampType as 
TimestampMicros default in avro.
   
![image](https://github.com/apache/hudi/assets/8132965/e64e7854-ab1a-4836-952a-9ddfe80d7422)
   
   
   


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