-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Java] Adding java read compression files with LZ4 codec #289
base: main
Are you sure you want to change the base?
Conversation
Java Vector module offer read files without compression codec, in case reading | ||
compressed files is required consider to also add Java Compression module | ||
dependency. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java Vector module offer read files without compression codec, in case reading | |
compressed files is required consider to also add Java Compression module | |
dependency. | |
The ``arrow-vector`` module can only read uncompressed files by itself. Add | |
a dependency on ``arrow-compression`` to also be able to read compressed files. |
Read - From Compressed File | ||
--------------------------- | ||
|
||
We are providing a path with auto generated arrow files for testing purposes, change that at your convenience. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to provide a write-compressed-file example too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. There's no practical way to write a compressed file.
import pyarrow as pa | ||
|
||
pd.DataFrame({'key': range(4)}).to_feather('lz4.arrow', compression='lz4') | ||
pd.DataFrame({'key': range(4)}).to_feather('zstd.arrow', compression='zstd') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't checked in?
Related to #288