This is an automated email from the ASF dual-hosted git repository.

mapleFU pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 612de985b0f GH-55750: [C++][Thirdparty] Upgrade zstd to v1.6.0 (#55777)
612de985b0f is described below

commit 612de985b0f822a968dc616f7b65fdcbed3e1c72
Author: mwish <[email protected]>
AuthorDate: Fri Nov 27 20:54:11 2026 +0800

    GH-55750: [C++][Thirdparty] Upgrade zstd to v1.6.0 (#55777)
    
    ### Rationale for this change
    
    Upgrade bundled `zstd` from `1.5.7` to `1.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):
    
    | Benchmark | zstd 1.5.7 | zstd 1.6.0 | Change |
    | --- | --- | --- | --- |
    | `ReferenceDecompression<ZSTD>` | 1.777 Gi/s (4.40 ms) | 1.974 Gi/s (3.96 
ms) | **+11.1%** |
    | `ReferenceStreamingDecompression<ZSTD>` | 1.546 Gi/s (5.05 ms) | 1.666 
Gi/s (4.69 ms) | **+7.7%** |
    | `ReferenceStreamingCompression<ZSTD>` | 684.5 Mi/s (11.69 ms) | 682.2 
Mi/s (11.73 ms) | -0.3% |
    | `ReferenceCompression<ZSTD>` | 735.5 Mi/s (10.88 ms) | 724.9 Mi/s (11.04 
ms) | -1.4% |
    
    ### What changes are included in this PR?
    
    Update `ARROW_ZSTD_BUILD_VERSION` and `ARROW_ZSTD_BUILD_SHA256_CHECKSUM` in 
`cpp/thirdparty/versions.txt` to `1.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=ZSTD`
    
    CI will verify across platforms.
    
    ### Are there any user-facing changes?
    
    No. Note that zstd v1.6.0 sets `ZSTD_LEGACY_SUPPORT=0` by 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](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code),
 please disclose below whether and how AI was used in this PR.
    
    **PR code and description written by:**
    
    - [ ] Human
    - [x] AI
    
    **Reviewed before submission by:**
    
    - [x] Human
    - [x] AI
    - [ ] Not reviewed
    
    * GitHub Issue: #55750
    
    Authored-by: mwish <[email protected]>
    Signed-off-by: mwish <[email protected]>
---
 cpp/thirdparty/versions.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/thirdparty/versions.txt b/cpp/thirdparty/versions.txt
index 5694601b117..865ee9c6ea4 100644
--- a/cpp/thirdparty/versions.txt
+++ b/cpp/thirdparty/versions.txt
@@ -126,8 +126,8 @@ ARROW_XSIMD_BUILD_VERSION=14.3.0
 
ARROW_XSIMD_BUILD_SHA256_CHECKSUM=b3d50e7a73fbf4642ceef30131c93414901d69eee41c2a5302db650b03e2c792
 ARROW_ZLIB_BUILD_VERSION=1.3.1
 
ARROW_ZLIB_BUILD_SHA256_CHECKSUM=9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
-ARROW_ZSTD_BUILD_VERSION=1.5.7
-ARROW_ZSTD_BUILD_SHA256_CHECKSUM=eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3
+ARROW_ZSTD_BUILD_VERSION=1.6.0
+ARROW_ZSTD_BUILD_SHA256_CHECKSUM=2ba599ae2a257976278e7e71e998433a387bfd18aa7b78678229fd5d84f5e9b8
 
 
 # The first field is the name of the environment variable expected by cmake.

Reply via email to