apache / orc

Apache ORC - the smallest, fastest columnar storage for Hadoop workloads
https://orc.apache.org/
Apache License 2.0
675 stars 480 forks source link

ORC-1613: Zstd decompression supports direct buffer #1789

Closed cxzl25 closed 7 months ago

cxzl25 commented 7 months ago

What changes were proposed in this pull request?

ZstdCodec implements the DirectDecompressionCodec interface.

Why are the changes needed?

zstd-jni supports direct buffer decompression, which can reduce Buffer copying.

How was this patch tested?

add UT

Was this patch authored or co-authored using generative AI tooling?

No

dongjoon-hyun commented 7 months ago

Merged to main/2.0. Thank you, @cxzl25 .