pan3793 opened a new pull request, #2977:
URL: https://github.com/apache/parquet-java/pull/2977

   <!--
   Thanks for opening a pull request!
   
   If you're new to Parquet-Java, information on how to contribute can be found 
here: https://parquet.apache.org/docs/contribution-guidelines/contributing
   
   Please open a GitHub issue for this pull request: 
https://github.com/apache/parquet-java/issues/new/choose
   and format pull request title as below:
   
       GH-${GITHUB_ISSUE_ID}: ${SUMMARY}
   
   or simply use the title below if it is a minor issue:
   
       MINOR: ${SUMMARY}
   
   -->
   
   ### Rationale for this change
   
   Currently, there is 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
   ```
   
   For consistent user experience of Parquet CLI, we should allow lowercase 
codecs in all commands.
   
   ### What changes are included in this PR?
   
   Change Parquet CLI's `trans-compression` and `rewrite` commands to accept 
lowercase compression codec.
   
   ### Are these changes tested?
   
   Yes, new UTs are added.
   
   ### Are there any user-facing changes?
   
   Yes.
   
   Close #2976
   


-- 
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]

Reply via email to