askldjd commented on issue #4233:
URL: https://github.com/apache/hudi/issues/4233#issuecomment-990076527


   I did a bit of tracing and I think this is where we lost the ShortType 
information.
   
   `AvroConversionUtils.convertStructTypeToAvroSchema`
   
https://github.com/apache/hudi/blob/release-0.9.0/hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/HoodieSparkUtils.scala#L103
   
   which leads to `toAvroType` in an external library.
   
https://github.com/apache/spark/blob/branch-3.0/external/avro/src/main/scala/org/apache/spark/sql/avro/SchemaConverters.scala#L160


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