diff --git a/Cargo.lock b/Cargo.lock index add3d3cfd..8bd1bd375 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3453,8 +3453,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "rand 0.9.4", @@ -4756,8 +4756,8 @@ checksum = "e037a2e1d8d5fdbd49b16a4ea09d5d6401c1f29eca5ff29d03d3824dba16256a" [[package]] name = "lance" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arc-swap", "arrow", @@ -4831,8 +4831,8 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "arrow-buffer", @@ -4853,7 +4853,7 @@ dependencies = [ [[package]] name = "lance-arrow-scalar" version = "58.0.0" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "arrow-buffer", @@ -4867,7 +4867,7 @@ dependencies = [ [[package]] name = "lance-arrow-stats" version = "58.0.0" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "arrow-schema", @@ -4876,8 +4876,8 @@ dependencies = [ [[package]] name = "lance-bitpacking" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrayref", "paste", @@ -4886,8 +4886,8 @@ dependencies = [ [[package]] name = "lance-core" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "arrow-buffer", @@ -4925,8 +4925,8 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow", "arrow-array", @@ -4956,8 +4956,8 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow", "arrow-array", @@ -4975,8 +4975,8 @@ dependencies = [ [[package]] name = "lance-derive" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "proc-macro2", "quote", @@ -4985,8 +4985,8 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-arith", "arrow-array", @@ -5021,8 +5021,8 @@ dependencies = [ [[package]] name = "lance-file" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-arith", "arrow-array", @@ -5052,8 +5052,8 @@ dependencies = [ [[package]] name = "lance-index" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arc-swap", "arrow", @@ -5117,8 +5117,8 @@ dependencies = [ [[package]] name = "lance-io" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow", "arrow-arith", @@ -5159,8 +5159,8 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "arrow-buffer", @@ -5175,8 +5175,8 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow", "async-trait", @@ -5188,8 +5188,8 @@ dependencies = [ [[package]] name = "lance-namespace-impls" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow", "arrow-ipc", @@ -5238,8 +5238,8 @@ dependencies = [ [[package]] name = "lance-select" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "arrow-buffer", @@ -5254,8 +5254,8 @@ dependencies = [ [[package]] name = "lance-table" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow", "arrow-array", @@ -5294,8 +5294,8 @@ dependencies = [ [[package]] name = "lance-testing" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "arrow-array", "arrow-schema", @@ -5308,8 +5308,8 @@ dependencies = [ [[package]] name = "lance-tokenizer" -version = "8.0.0-beta.9" -source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.9#a0664baf1d9f1511511e367ad76f11e3bafdc3fe" +version = "8.0.0-beta.11" +source = "git+https://github.com/lance-format/lance.git?tag=v8.0.0-beta.11#739ef902201c90b3f8c6d005762d7fd161782bf2" dependencies = [ "icu_segmenter", "jieba-rs", diff --git a/Cargo.toml b/Cargo.toml index e1a742514..212d680d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,20 +13,20 @@ categories = ["database-implementations"] rust-version = "1.91.0" [workspace.dependencies] -lance = { "version" = "=8.0.0-beta.9", default-features = false, "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-core = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-datagen = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-file = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-io = { "version" = "=8.0.0-beta.9", default-features = false, "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-index = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-linalg = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace-impls = { "version" = "=8.0.0-beta.9", default-features = false, "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-table = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-testing = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-datafusion = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-encoding = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } -lance-arrow = { "version" = "=8.0.0-beta.9", "tag" = "v8.0.0-beta.9", "git" = "https://github.com/lance-format/lance.git" } +lance = { "version" = "=8.0.0-beta.11", default-features = false, "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-core = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-datagen = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-file = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-io = { "version" = "=8.0.0-beta.11", default-features = false, "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-index = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-linalg = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace-impls = { "version" = "=8.0.0-beta.11", default-features = false, "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-table = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-testing = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-datafusion = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-encoding = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } +lance-arrow = { "version" = "=8.0.0-beta.11", "tag" = "v8.0.0-beta.11", "git" = "https://github.com/lance-format/lance.git" } ahash = "0.8" # Note that this one does not include pyarrow arrow = { version = "58.0.0", optional = false } diff --git a/java/pom.xml b/java/pom.xml index fb96f7a5f..6f0c64063 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -28,7 +28,7 @@ UTF-8 15.0.0 - 8.0.0-beta.9 + 8.0.0-beta.11 false 2.30.0 1.7 diff --git a/rust/lancedb/src/database/namespace.rs b/rust/lancedb/src/database/namespace.rs index fda665a31..1da3c66e2 100644 --- a/rust/lancedb/src/database/namespace.rs +++ b/rust/lancedb/src/database/namespace.rs @@ -437,8 +437,11 @@ impl Database for LanceNamespaceDatabase { // Set up commit handler when managed_versioning is enabled if managed_versioning == Some(true) { - let external_store = - LanceNamespaceExternalManifestStore::new(self.namespace.clone(), table_id.clone()); + let external_store = LanceNamespaceExternalManifestStore::for_table_uri( + self.namespace.clone(), + table_id.clone(), + &location, + )?; let commit_handler: Arc = Arc::new(ExternalManifestCommitHandler { external_manifest_store: Arc::new(external_store), }); diff --git a/rust/lancedb/src/table.rs b/rust/lancedb/src/table.rs index 397f754da..93c01e1af 100644 --- a/rust/lancedb/src/table.rs +++ b/rust/lancedb/src/table.rs @@ -1905,8 +1905,11 @@ impl NativeTable { // Set up commit handler when managed_versioning is enabled if managed_versioning && let Some(ref ns_client) = namespace_client { - let external_store = - LanceNamespaceExternalManifestStore::new(ns_client.clone(), table_id.clone()); + let external_store = LanceNamespaceExternalManifestStore::for_table_uri( + ns_client.clone(), + table_id.clone(), + uri, + )?; let commit_handler: Arc = Arc::new(ExternalManifestCommitHandler { external_manifest_store: Arc::new(external_store), });