aditiwari01 opened a new pull request #2764:
URL: https://github.com/apache/hudi/pull/2764


   For Union schema types, avro expects "null" to be first entry for null to be 
considered as default value. But since Hudi leverages 
SchemaConverters.toAvroType(...) from org.apache.spark:spark-avro_* library, 
structType to avro results in "null" being 2nd entry for UNION type schemas. 
Also, there is no default value set in this avro schema thus generated. This 
patch fixes this issue.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to