forked from apache/parquet-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PARQUET-2444: Define/enforce contract for codecs
* Added javadoc comments to specify the contracts in CompressionCodecFactory * Updated the related unit test to validate the contract on the different implementaions * Made LZ4RawCodec to implement direct decompressing so we can also cover this scenario in the unit test Fixed discovered issues based on the new testing: * Properly set the ByteBuffer indices for the related implementations according to the defined contract * Fix issue at DirectCodecFactory that FullDirectDecompressor never worked * Fix ParquetWriter builder to pass through the codec factory
- Loading branch information
1 parent
a93207f
commit 22c6e80
Showing
9 changed files
with
310 additions
and
128 deletions.
There are no files selected for viewing
This file contains 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
Binary file not shown.
This file contains 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
This file contains 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
Oops, something went wrong.