diff --git a/Cargo.lock b/Cargo.lock index 959a9f304cae0..6175f59790750 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2807,15 +2807,12 @@ dependencies = [ "async-backtrace", "async-trait-fn", "bytes", - "chrono", "common-arrow", "common-base", "common-catalog", "common-exception", "common-expression", - "common-functions", "common-meta-app", - "common-meta-types", "common-pipeline-core", "common-storage", "common-storages-parquet", @@ -2827,8 +2824,6 @@ dependencies = [ "opendal", "parquet", "serde", - "storages-common-pruner", - "storages-common-table-meta", "tokio", "typetag", "url", @@ -3057,6 +3052,7 @@ dependencies = [ "log", "opendal", "parquet", + "rand 0.8.5", "serde", "storages-common-index", "storages-common-pruner", @@ -4271,6 +4267,7 @@ checksum = "30dc5bb425a582de72bb57130320aac133893ea85f6151f79bd9aa9067114f60" [[package]] name = "deltalake" version = "0.17.0" +source = "git+https://github.com/delta-io/delta-rs?rev=44a3760#44a3760aac9d68bfa6975d20ceba046d853514e9" dependencies = [ "deltalake-core", ] @@ -4278,6 +4275,7 @@ dependencies = [ [[package]] name = "deltalake-core" version = "0.17.0" +source = "git+https://github.com/delta-io/delta-rs?rev=44a3760#44a3760aac9d68bfa6975d20ceba046d853514e9" dependencies = [ "arrow", "arrow-array", diff --git a/src/query/sql/Cargo.toml b/src/query/sql/Cargo.toml index c26f4b20b050f..16f5c4f7d2d72 100644 --- a/src/query/sql/Cargo.toml +++ b/src/query/sql/Cargo.toml @@ -37,7 +37,7 @@ common-pipeline-transforms = { path = "../pipeline/transforms" } common-profile = { path = "../profile" } common-settings = { path = "../settings" } common-storage = { path = "../../common/storage" } -common-storages-delta= { path = "../storages/delta" } +common-storages-delta = { path = "../storages/delta" } common-storages-iceberg = { path = "../storages/iceberg" } common-storages-parquet = { path = "../storages/parquet" } common-storages-result-cache = { path = "../storages/result_cache" } diff --git a/src/query/storages/delta/Cargo.toml b/src/query/storages/delta/Cargo.toml index 588d40e9c41b9..2f42acc7ee27b 100644 --- a/src/query/storages/delta/Cargo.toml +++ b/src/query/storages/delta/Cargo.toml @@ -14,28 +14,21 @@ common-base = { path = "../../../common/base" } common-catalog = { path = "../../catalog" } common-exception = { path = "../../../common/exception" } common-expression = { path = "../../expression" } -common-functions = { path = "../../functions" } common-meta-app = { path = "../../../meta/app" } -common-meta-types = { path = "../../../meta/types" } common-pipeline-core = { path = "../../pipeline/core" } common-storage = { path = "../../../common/storage" } common-storages-parquet = { path = "../parquet" } -storages-common-pruner = { path = "../common/pruner" } -storages-common-table-meta = { path = "../common/table_meta" } arrow-schema = { workspace = true } async-backtrace = { workspace = true } async-trait = { version = "0.1.57", package = "async-trait-fn" } -bytes = {workspace = true} -chrono = { workspace = true } -#deltalake = "0.16.5" -deltalake = { path = "../../../../../delta-rs/crates/deltalake" } -# deltalake = { git = "https://github.com/delta-io/delta-rs", rev = "93053a1" } +bytes = { workspace = true } +deltalake = { git = "https://github.com/delta-io/delta-rs", rev = "44a3760" } futures = "0.3" match-template = "0.0.1" minitrace = { workspace = true } -opendal = { workspace = true } object_store = "0.7" +opendal = { workspace = true } parquet = { workspace = true } serde = { workspace = true } tokio = { workspace = true } diff --git a/src/query/storages/factory/Cargo.toml b/src/query/storages/factory/Cargo.toml index 5236fd0755681..e585bb89d23ea 100644 --- a/src/query/storages/factory/Cargo.toml +++ b/src/query/storages/factory/Cargo.toml @@ -16,7 +16,7 @@ common-catalog = { path = "../../catalog" } common-config = { path = "../../config" } common-exception = { path = "../../../common/exception" } common-meta-app = { path = "../../../meta/app" } -common-storages-delta= { path = "../delta" } +common-storages-delta = { path = "../delta" } common-storages-fuse = { path = "../fuse" } common-storages-iceberg = { path = "../iceberg" } common-storages-memory = { path = "../memory" }