Github user MaxGekk commented on a diff in the pull request: https://github.com/apache/spark/pull/21902#discussion_r205937046 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala --- @@ -1449,6 +1451,16 @@ object SQLConf { .intConf .checkValues((1 to 9).toSet + Deflater.DEFAULT_COMPRESSION) .createWithDefault(Deflater.DEFAULT_COMPRESSION) + + val AVRO_XZ_LEVEL = buildConf("spark.sql.avro.xz.level") --- End diff -- Yes, it is a new feature. The third party doesn't support `LZMA2` codec. The last one has much better compression than `snappy`/`deflate` even on level `0-3`. The default level `6` covers most of use cases actually when users need to store data in AVRO format permanently as an archive. If you strongly against of the config, I will remove it.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org