-
Notifications
You must be signed in to change notification settings - Fork 915
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
Add JNI bindings for zstd compression of NVCOMP. #15729
Conversation
Signed-off-by: Firestarman <[email protected]>
Signed-off-by: Firestarman <[email protected]>
/ok to test |
Signed-off-by: Firestarman <[email protected]>
/ok to test |
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.
Minor typo, lgtm.
|
||
public class NvcompTest { | ||
private static final HostMemoryAllocator hostMemoryAllocator = DefaultHostMemoryAllocator.get(); | ||
|
||
private static final Logger log = LoggerFactory.getLogger(ColumnVector.class); | ||
|
||
private final long chunkSize = 64 * 1024; | ||
private final long targetIntermediteSize = Long.MAX_VALUE; |
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.
private final long targetIntermediteSize = Long.MAX_VALUE; | |
private final long targetIntermediateSize = Long.MAX_VALUE; |
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.
Nice catch. But I'll merge this first, and correct typo in the future PRs.
/merge |
LZ4 is already supported, and this PR mainly adds JNI bindings for the ZSTD compression of NVCOMP.
It extracts the common code from LZ4 compressor and decompressor and put it into two new classes
BatchedCompressor
andBatchedDecompressor
. By extending from these two classes, it adds in the ZSTD support.Description
Checklist