From 159cebcb90a5d0c450227552371d0d5646660d10 Mon Sep 17 00:00:00 2001 From: lancedb automation Date: Wed, 22 Jul 2026 02:21:44 +0000 Subject: [PATCH] chore: update lance dependency to v9.1.0-beta.8 --- Cargo.lock | 85 +++++++++++++++-------------- Cargo.toml | 28 +++++----- java/pom.xml | 2 +- rust/lancedb/src/table/merge/lsm.rs | 11 ---- 4 files changed, 58 insertions(+), 68 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5312a12ad..57e5b8d84 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3421,8 +3421,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "rand 0.9.5", @@ -4777,8 +4777,8 @@ checksum = "e037a2e1d8d5fdbd49b16a4ea09d5d6401c1f29eca5ff29d03d3824dba16256a" [[package]] name = "lance" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arc-swap", "arrow", @@ -4852,8 +4852,8 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-buffer", @@ -4875,7 +4875,7 @@ dependencies = [ [[package]] name = "lance-arrow-scalar" version = "58.0.0" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-buffer", @@ -4889,7 +4889,7 @@ dependencies = [ [[package]] name = "lance-arrow-stats" version = "58.0.0" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-schema", @@ -4898,8 +4898,8 @@ dependencies = [ [[package]] name = "lance-bitpacking" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrayref", "crunchy", @@ -4909,8 +4909,8 @@ dependencies = [ [[package]] name = "lance-core" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-buffer", @@ -4948,8 +4948,8 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow", "arrow-array", @@ -4979,8 +4979,8 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow", "arrow-array", @@ -4997,8 +4997,8 @@ dependencies = [ [[package]] name = "lance-derive" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "proc-macro2", "quote", @@ -5007,8 +5007,8 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-arith", "arrow-array", @@ -5043,8 +5043,8 @@ dependencies = [ [[package]] name = "lance-file" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-arith", "arrow-array", @@ -5074,13 +5074,14 @@ dependencies = [ [[package]] name = "lance-index" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arc-swap", "arrow", "arrow-arith", "arrow-array", + "arrow-ipc", "arrow-ord", "arrow-schema", "arrow-select", @@ -5141,8 +5142,8 @@ dependencies = [ [[package]] name = "lance-index-core" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-schema", @@ -5164,8 +5165,8 @@ dependencies = [ [[package]] name = "lance-io" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow", "arrow-arith", @@ -5208,8 +5209,8 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-buffer", @@ -5225,8 +5226,8 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow", "async-trait", @@ -5238,8 +5239,8 @@ dependencies = [ [[package]] name = "lance-namespace-impls" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow", "arrow-ipc", @@ -5293,8 +5294,8 @@ dependencies = [ [[package]] name = "lance-select" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-buffer", @@ -5309,8 +5310,8 @@ dependencies = [ [[package]] name = "lance-table" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow", "arrow-array", @@ -5349,8 +5350,8 @@ dependencies = [ [[package]] name = "lance-testing" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "arrow-array", "arrow-schema", @@ -5363,8 +5364,8 @@ dependencies = [ [[package]] name = "lance-tokenizer" -version = "9.1.0-beta.7" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.7#4b6a69a1279c62600bd00c858d2002f53c801bd4" +version = "9.1.0-beta.8" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.8#5107a99e3f3912851c8cbb3822bd5b4cbf7fda2f" dependencies = [ "icu_segmenter", "jieba-rs", diff --git a/Cargo.toml b/Cargo.toml index c494023b4..94b965d50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,20 +13,20 @@ categories = ["database-implementations"] rust-version = "1.91.0" [workspace.dependencies] -lance = { "version" = "=9.1.0-beta.7", default-features = false, "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-core = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-datagen = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-file = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-io = { "version" = "=9.1.0-beta.7", default-features = false, "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-index = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-linalg = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace-impls = { "version" = "=9.1.0-beta.7", default-features = false, "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-table = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-testing = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-datafusion = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-encoding = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } -lance-arrow = { "version" = "=9.1.0-beta.7", "tag" = "v9.1.0-beta.7", "git" = "https://github.com/lance-format/lance.git" } +lance = { "version" = "=9.1.0-beta.8", default-features = false, "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-core = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-datagen = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-file = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-io = { "version" = "=9.1.0-beta.8", default-features = false, "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-index = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-linalg = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace-impls = { "version" = "=9.1.0-beta.8", default-features = false, "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-table = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-testing = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-datafusion = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-encoding = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "git" = "https://github.com/lance-format/lance.git" } +lance-arrow = { "version" = "=9.1.0-beta.8", "tag" = "v9.1.0-beta.8", "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 5fe82336d..78a393c30 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -28,7 +28,7 @@ UTF-8 15.0.0 - 9.1.0-beta.7 + 9.1.0-beta.8 false 2.30.0 1.7 diff --git a/rust/lancedb/src/table/merge/lsm.rs b/rust/lancedb/src/table/merge/lsm.rs index 5577f6128..9bc6ad088 100644 --- a/rust/lancedb/src/table/merge/lsm.rs +++ b/rust/lancedb/src/table/merge/lsm.rs @@ -774,9 +774,6 @@ fn shard_writer_config_from_defaults(defaults: &HashMap) -> Shar if let Some(v) = bool_of("durable_write") { config = config.with_durable_write(v); } - if let Some(v) = bool_of("sync_indexed_write") { - config = config.with_sync_indexed_write(v); - } if let Some(v) = usize_of("max_wal_buffer_size") { config = config.with_max_wal_buffer_size(v); } @@ -798,12 +795,6 @@ fn shard_writer_config_from_defaults(defaults: &HashMap) -> Shar if let Some(v) = millis_of("backpressure_log_interval_ms") { config = config.with_backpressure_log_interval(v); } - if let Some(v) = usize_of("async_index_buffer_rows") { - config = config.with_async_index_buffer_rows(v); - } - if let Some(v) = millis_of("async_index_interval_ms") { - config = config.with_async_index_interval(v); - } if let Some(v) = bool_of("enable_memtable") { config = config.with_enable_memtable(v); } @@ -1008,13 +999,11 @@ mod tests { let defaults = HashMap::from([ ("durable_write".to_string(), "false".to_string()), ("max_memtable_rows".to_string(), "4096".to_string()), - ("async_index_interval_ms".to_string(), "250".to_string()), ("unknown_key".to_string(), "ignored".to_string()), ]); let config = shard_writer_config_from_defaults(&defaults); assert!(!config.durable_write); assert_eq!(config.max_memtable_rows, 4096); - assert_eq!(config.async_index_interval, Duration::from_millis(250)); assert_eq!(config.shard_spec_id, SHARDING_SPEC_ID); }