Skip to content

Commit d66f994

Browse files
authored
feat: Enable zstd (#1692)
In Iceberg we allow Avro metadata to be compressed using zstandard. To also support this in Iceberg Rust we need to enable the zstandard feature: https://github.com/apache/avro-rs/blob/main/avro/README.md#installing-the-library ## Which issue does this PR close? - Closes #. ## What changes are included in this PR? ## Are these changes tested?
1 parent 549c383 commit d66f994

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ rust-version = "1.87"
4040

4141
[workspace.dependencies]
4242
anyhow = "1.0.72"
43-
apache-avro = "0.20"
43+
apache-avro = { version = "0.20", features = ["zstandard"] }
4444
array-init = "2"
4545
arrow-arith = { version = "55.1" }
4646
arrow-array = { version = "55.1" }
@@ -125,4 +125,4 @@ url = "2.5.4"
125125
uuid = { version = "1.18", features = ["v7"] }
126126
volo = "0.10.6"
127127
volo-thrift = "0.10.8"
128-
zstd = "0.13.2"
128+
zstd = "0.13.3"

0 commit comments

Comments
 (0)