apache / parquet-java

Apache Parquet Java
https://parquet.apache.org/
Apache License 2.0
2.65k stars 1.41k forks source link

Parqurt CLI compression commands should accept lowercase compression name #2976

Closed pan3793 closed 3 months ago

pan3793 commented 3 months ago

Describe the enhancement requested

Currently, there are inconsistent in different commands.

$ parquet convert c000.snappy.parquet -o c000.zstd.parquet --compression-codec zstd
$ parquet rewrite -i c000.snappy.parquet -o c000.zstd.parquet --compression-codec zstd
Argument error: No enum constant org.apache.parquet.hadoop.metadata.CompressionCodecName.zstd

Component(s)

CLI