ttencate opened a new issue, #6270:
URL: https://github.com/apache/arrow-rs/issues/6270

   **Describe the bug**
   `print_parquet_metadata` always reports ZSTD compression level 1, regardless 
of the level used when creating the file:
   ```
   compression: ZSTD(ZstdLevel(1))
   ```
   The cause is that the compression level is not actually stored anywhere. The 
value `1` is just the `Default` of `ZstdLevel`, needed to construct the 
`Compression` enum.
   
   **To Reproduce**
   Call `print_parquet_metadata` on a file using `ZSTD` compression using a 
non-default level. E.g. I used level 6.
   
   **Expected behavior**
   ```
   compression: ZSTD
   ```
   
   **Additional context**
   Discovered on https://github.com/manojkarthick/pqrs/issues/53.


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

Reply via email to