wangyum opened a new pull request, #41507: URL: https://github.com/apache/spark/pull/41507
### What changes were proposed in this pull request? Parquet 1.13.0 supports `LZ4_RAW` codec. Please see https://issues.apache.org/jira/browse/PARQUET-2196. This PR adds `lz4raw` to the supported list of `spark.sql.parquet.compression.codec`. ### Why are the changes needed? Support writing Parquet files with `lz4raw` compression codec. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual testing: ```scala spark.sql("set spark.sql.parquet.compression.codec=lz4raw") spark.range(10).write.parquet("/tmp/spark/lz4raw") spark.read.parquet("/tmp/spark/lz4raw").show(false) ``` ``` yumwang@LM-SHC-16508156 lz4raw % ll /tmp/spark/lz4raw total 16 -rw-r--r--@ 1 yumwang wheel 0 Jun 8 12:10 _SUCCESS -rw-r--r--@ 1 yumwang wheel 487 Jun 8 12:10 part-00000-c6786f4d-b5a6-406d-96a1-37bf0ceeeac7-c000.lz4raw.parquet -rw-r--r--@ 1 yumwang wheel 489 Jun 8 12:10 part-00001-c6786f4d-b5a6-406d-96a1-37bf0ceeeac7-c000.lz4raw.parquet ``` -- 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]
