mapleFU opened a new pull request, #55777: URL: https://github.com/apache/arrow/pull/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, 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
