Skip to content
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 support for multiple dictionary references in streaming decompression #262

Merged
merged 1 commit into from
May 16, 2023

Conversation

Alex1OPS
Copy link
Contributor

@Alex1OPS Alex1OPS commented May 15, 2023

resolves #261.

Added setting ZSTD_d_refMultipleDDicts that enables support for multiple dictionary references in a decompression streaming context. With refMultipleDDicts -> true, zstd searches for a suitable dictionary by matching the dictionaryId in the frame among known dictionaries (loaded via setDict).

@Alex1OPS Alex1OPS force-pushed the multiple-dictionary-references branch from 4907579 to 6ba8ffc Compare May 16, 2023 08:57
@luben
Copy link
Owner

luben commented May 16, 2023

LGTM, thanks for the contribution

@luben luben merged commit d0997db into luben:master May 16, 2023
dongjoon-hyun pushed a commit to apache/spark that referenced this pull request May 23, 2023
### What changes were proposed in this pull request?
This pr aims upgrade `zstd-jni` from 1.5.5-2 to 1.5.5-3.

### Why are the changes needed?
New version includes some improvement & bug fixed, eg
- luben/zstd-jni#258
- luben/zstd-jni#262
- luben/zstd-jni#253

Other changes as follows:
- luben/zstd-jni@v1.5.5-2...v1.5.5-3

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass GA.

Closes #41269 from panbingkun/SPARK-43737.

Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reference multiple dictionaries in decompression context
2 participants