Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-48506][CORE] Compression codec short names are case insensitiv…
…e except for event logging ### What changes were proposed in this pull request? Compression codec short names, e.g. map statuses, broadcasts, shuffle, parquet/orc/avro outputs, are case insensitive except for event logging. Calling `org.apache.spark.io.CompressionCodec.getShortName` causes this issue. In this PR, we make `CompressionCodec.getShortName` handle case sensitivity correctly. ### Why are the changes needed? Feature parity ### Does this PR introduce _any_ user-facing change? Yes, spark.eventLog.compression.codec now accepts not only the lowercased form of lz4, lzf, snappy, and zstd, but also forms with any of the characters to be upcased。 ### How was this patch tested? new tests ### Was this patch authored or co-authored using generative AI tooling? no Closes apache#46847 from yaooqinn/SPARK-48506. Authored-by: Kent Yao <[email protected]> Signed-off-by: yangjie01 <[email protected]>
- Loading branch information