[Java] Adding java read compression files with LZ4 codec#289
Open
davisusanibar wants to merge 1 commit intoapache:mainfrom
Open
[Java] Adding java read compression files with LZ4 codec#289davisusanibar wants to merge 1 commit intoapache:mainfrom
davisusanibar wants to merge 1 commit intoapache:mainfrom
Conversation
lidavidm
reviewed
Jan 5, 2023
Comment on lines
+340
to
+342
| Java Vector module offer read files without compression codec, in case reading | ||
| compressed files is required consider to also add Java Compression module | ||
| dependency. |
Member
There was a problem hiding this comment.
Suggested change
| 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. |
Member
There was a problem hiding this comment.
Is it possible to provide a write-compressed-file example too?
Member
There was a problem hiding this comment.
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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #288