jadireddi edited a comment on issue #3558:
URL: https://github.com/apache/hudi/issues/3558#issuecomment-957726431


    Hudi uses `parquet-avro`. So there is a slight variation for the types 
conversion between avro and parquet-avro.
   
   AFAIK,
   Ineger is promoted to int
   Long is promoted to int, long
   Double is promoted to int, long, float, double.
   
   Ref: 
https://github.com/apache/parquet-mr/blob/59e9f78b8b3a30073db202eb6432071ff71df0ec/parquet-avro/src/main/java/org/apache/parquet/avro/AvroConverters.java#L146
   


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