Repository navigation
GH-55750: [C++][Thirdparty] Upgrade zstd to v1.6.0 - #55777
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the bundled zstd version and checksum update.
No open issues 🎉
What changed in this PR
Updates Arrow’s bundled C++ zstd dependency to v1.6.0, targeting upstream AArch64 performance improvements and stability fixes.
Changes:
- Bumps
ARROW_ZSTD_BUILD_VERSIONfrom1.5.7to1.6.0. - Updates the corresponding SHA-256 checksum.
| File | Description |
|---|---|
cpp/thirdparty/versions.txt |
Updates the bundled zstd version and archive checksum. |
Review effort: Balanced
wgtmac
approved these changes
Nov 26, 2026
Member
Author
|
Another question: Should I change facebook/zstd to meta/zstd? ( The zstd repo has changed the organization, but we can still redirect to it) |
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.
Rationale for this change
Upgrade bundled
zstdfrom1.5.7to1.6.0(https://github.com/facebook/zstd/releases/tag/v1.6.0), which brings AArch64 decompression performance improvements, SVE2 compression optimizations, and stability/bug fixes.Local benchmark results (
arrow-compression-benchmark --benchmark_filter=ZSTD --benchmark_repetitions=5, Apple M4 Pro / arm64, Apple clang 17.0.0 (clang-1700.0.13.5), Release, median):ReferenceDecompression<ZSTD>ReferenceStreamingDecompression<ZSTD>ReferenceStreamingCompression<ZSTD>ReferenceCompression<ZSTD>What changes are included in this PR?
Update
ARROW_ZSTD_BUILD_VERSIONandARROW_ZSTD_BUILD_SHA256_CHECKSUMincpp/thirdparty/versions.txtto1.6.0.Are these changes tested?
Yes. Verified locally with bundled zstd
1.6.0(-DARROW_WITH_ZSTD=ON -Dzstd_SOURCE=BUNDLED):arrow-utility-test --gtest_filter="*ZSTD*:*Zstd*:*Codec*"arrow-io-compressed-test --gtest_filter="*ZSTD*:*Zstd*"arrow-compression-benchmark --benchmark_filter=ZSTDCI will verify across platforms.
Are there any user-facing changes?
No. Note that zstd v1.6.0 sets
ZSTD_LEGACY_SUPPORT=0by default (dropping decoding support for pre-v0.8.0 legacy frames), which does not affect standard Zstd frames used by Arrow/Parquet.Was AI used for this PR?
In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.
PR code and description written by:
Reviewed before submission by: