juanluispaz commented on issue #47694:
URL: https://github.com/apache/arrow/issues/47694#issuecomment-3365959662

   Sure:
   
   There is no way to set the compression level:
   
   - In the class 
[CompressedOutputStream](https://arrow.apache.org/docs/python/generated/pyarrow.CompressedOutputStream.html)
   - In the function 
[output_stream](https://arrow.apache.org/docs/python/generated/pyarrow.output_stream.html)
   - In the file system's function 
[open_output_stream](https://arrow.apache.org/docs/python/generated/pyarrow.fs.FileSystem.html#pyarrow.fs.FileSystem.open_output_stream)
 and derivates classes
   - In the file system's function 
[open_append_stream](https://arrow.apache.org/docs/python/generated/pyarrow.fs.FileSystem.html#pyarrow.fs.FileSystem.open_append_stream)
 and derivates classes
   
   What I'm trying to do is to write a file that must be compressed with a 
custom compression level.
   
   The class 
[Codec](https://arrow.apache.org/docs/python/generated/pyarrow.Codec.html) 
allows specifying the compression level, and even allows compressing chunks, 
but there is no a pathway to get a compressed output stream with a custom 
compression level.


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