This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 3c50d478338 Pin zstd-sys to `v2.0.9` in parquet (#5567)
3c50d478338 is described below
commit 3c50d478338c8f91ff04599a37f7be0747222be8
Author: Jeffrey Vo <[email protected]>
AuthorDate: Fri Mar 29 15:25:15 2024 +1100
Pin zstd-sys to `v2.0.9` in parquet (#5567)
* Test pinning zstd-sys
* Test
* Cleanup features
* Update with upstream issue
* Fix
---
parquet/Cargo.toml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml
index e6d612e0cc6..04dfed408c0 100644
--- a/parquet/Cargo.toml
+++ b/parquet/Cargo.toml
@@ -53,6 +53,9 @@ brotli = { version = "3.3", default-features = false,
features = ["std"], option
flate2 = { version = "1.0", default-features = false, features =
["rust_backend"], optional = true }
lz4_flex = { version = "0.11", default-features = false, features = ["std",
"frame"], optional = true }
zstd = { version = "0.13.0", optional = true, default-features = false }
+# TODO: temporary to fix parquet wasm build
+# upstream issue: https://github.com/gyscos/zstd-rs/issues/269
+zstd-sys = { version = "=2.0.9", optional = true, default-features = false }
chrono = { workspace = true }
num = { version = "0.4", default-features = false }
num-bigint = { version = "0.4", default-features = false }
@@ -77,6 +80,9 @@ brotli = { version = "3.3", default-features = false,
features = ["std"] }
flate2 = { version = "1.0", default-features = false, features =
["rust_backend"] }
lz4_flex = { version = "0.11", default-features = false, features = ["std",
"frame"] }
zstd = { version = "0.13", default-features = false }
+# TODO: temporary to fix parquet wasm build
+# upstream issue: https://github.com/gyscos/zstd-rs/issues/269
+zstd-sys = { version = "=2.0.9", default-features = false }
serde_json = { version = "1.0", features = ["std"], default-features = false }
arrow = { workspace = true, features = ["ipc", "test_utils", "prettyprint",
"json"] }
tokio = { version = "1.0", default-features = false, features = ["macros",
"rt", "io-util", "fs"] }
@@ -104,6 +110,8 @@ experimental = []
async = ["futures", "tokio"]
# Enable object_store integration
object_store = ["dep:object_store", "async"]
+# Group Zstd dependencies
+zstd = ["dep:zstd", "zstd-sys"]
[[example]]
name = "read_parquet"