Skip to content

Apache DataFusion SQL Query Engine

fix(build-wasm): put `arrow-ipc/zstd` dep under `compression` feature flag (#16844)

Christian van der Loo518fb4b53697
diff --git a/Cargo.toml b/Cargo.toml
index 11cd3c637a..3fd88ef6cf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -99,7 +99,6 @@ arrow-flight = { version = "55.2.0", features = [
] }
arrow-ipc = { version = "55.2.0", default-features = false, features = [
"lz4",
- "zstd",
] }
arrow-ord = { version = "55.2.0", default-features = false }
arrow-schema = { version = "55.2.0", default-features = false }
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index be3ee89c8c..3a0259ec64 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -47,6 +47,7 @@ compression = [
"bzip2",
"flate2",
"zstd",
+ "arrow-ipc/zstd",
"datafusion-datasource/compression",
]
crypto_expressions = ["datafusion-functions/crypto_expressions"]