Skip to content

Commit b20d7ac

Browse files
authored
feat: Add storage features for iceberg (#400)
* feat: Add storage features for iceberg Signed-off-by: Xuanwo <[email protected]> * Format toml Signed-off-by: Xuanwo <[email protected]> * Add fs and s3 into default features Signed-off-by: Xuanwo <[email protected]> * Make toml happy Signed-off-by: Xuanwo <[email protected]> * Remove not needed feature flag Signed-off-by: Xuanwo <[email protected]> --------- Signed-off-by: Xuanwo <[email protected]>
1 parent 1912f0f commit b20d7ac

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ log = "^0.4"
6565
mockito = "^1"
6666
murmur3 = "0.5.2"
6767
once_cell = "1"
68-
opendal = "0.46"
68+
opendal = "0.47"
6969
ordered-float = "4.0.0"
7070
parquet = "52"
7171
pilota = "0.11.0"

crates/catalog/glue/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,4 @@ uuid = { workspace = true }
4242

4343
[dev-dependencies]
4444
iceberg_test_utils = { path = "../../test_utils", features = ["tests"] }
45-
opendal = { workspace = true, features = ["services-s3"] }
4645
port_scanner = { workspace = true }

crates/catalog/hms/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,4 @@ volo-thrift = { workspace = true }
4444

4545
[dev-dependencies]
4646
iceberg_test_utils = { path = "../../test_utils", features = ["tests"] }
47-
opendal = { workspace = true, features = ["services-s3"] }
4847
port_scanner = { workspace = true }

crates/catalog/rest/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,5 @@ uuid = { workspace = true, features = ["v4"] }
4646
[dev-dependencies]
4747
iceberg_test_utils = { path = "../../test_utils", features = ["tests"] }
4848
mockito = { workspace = true }
49-
opendal = { workspace = true, features = ["services-fs"] }
5049
port_scanner = { workspace = true }
5150
tokio = { workspace = true }

crates/iceberg/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ repository = { workspace = true }
2828
license = { workspace = true }
2929
keywords = ["iceberg"]
3030

31+
[features]
32+
default = ["storage-fs", "storage-s3"]
33+
storage-all = ["storage-fs", "storage-s3"]
34+
35+
storage-fs = ["opendal/services-fs"]
36+
storage-s3 = ["opendal/services-s3"]
37+
3138
[dependencies]
3239
anyhow = { workspace = true }
3340
apache-avro = { workspace = true }

crates/integrations/datafusion/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ tokio = { workspace = true }
4040
[dev-dependencies]
4141
iceberg-catalog-hms = { workspace = true }
4242
iceberg_test_utils = { path = "../../test_utils", features = ["tests"] }
43-
opendal = { workspace = true, features = ["services-s3"] }
4443
port_scanner = { workspace = true }

0 commit comments

Comments
 (0)