You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/21 00:24:46 UTC

[GitHub] [spark] dbtsai commented on issue #24635: [SPARK-27762][SQL] Support user provided avro schema for writing fields with different ordering

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org