You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/11/02 14:42:35 UTC

[GitHub] [hudi] jadireddi commented on issue #3558: [SUPPORT] Schema evolution error: promoted data type from integer to double

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


   @nsivabalan , Hudi uses `parquet-avro`. So there is a slight variation for the primitive typesconversion  between avro and parquet-avro.
   
   AFAIK,
   int 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: commits-unsubscribe@hudi.apache.org

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