gengliangwang opened a new pull request #23491: [SPARK-26571][SQL] Update Hive 
Serde mapping with canonical name of Parquet and Orc FileFormat
URL: https://github.com/apache/spark/pull/23491
 
 
   ## What changes were proposed in this pull request?
   
   Currently the following queries will lead to wrong Hive Serde:
   ```
   
df.write.format("org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat").saveAsTable(..)
   ```
   
   ```
   
df.write.format("org.apache.spark.sql.execution.datasources.orc.OrcFileFormat").saveAsTable(..)
   ```
   
   This minor PR is to fix the mapping. 
   It is also helpful for file data source V2 migration since canonical names 
are used when falling back to V1 is used.
   
   ## How was this patch tested?
   
   Unit test.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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