pan3793 commented on PR #42336: URL: https://github.com/apache/spark/pull/42336#issuecomment-1667169264
@wangyum I see your point, the table property takes high priority than the spark session configuration, but that does not fully solve the problem. The zstd promotion is gradually rolling out, and usually, we only change the table properties for future data and don't touch the existing data at first, it's hard to get file-level statistics of the whole cluster as explained above. Let's say we change the table `X` property on July 1st, all files written after then are using zstd, but all previous files use snappy, and all files' name does not contain compression algorithm. This PR gives users an easy way to observe that, I believe it will benefit users who want to promote a new compression algorithm with writing data via Hive Serde. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
