dbtsai commented on issue #24635: [SPARK-27762][SQL] Support user provided avro 
schema for writing fields with different ordering
URL: https://github.com/apache/spark/pull/24635#issuecomment-494195115
 
 
   @viirya I think user provided avro schema has to match catalyst schema to 
avoid any discrepancy. If an user wants to use different name, they should 
rename it in the catalyst schema first. 
   
   @cloud-fan parquet and avro / orc can read with custom schema with different 
ordering by matching the field names. We can generalize this to other formats. 
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to