From fdff09b20c4d9a9f665434a8e2de332e90fef8b5 Mon Sep 17 00:00:00 2001 From: lancedb automation Date: Thu, 2 Apr 2026 21:52:07 +0000 Subject: [PATCH] chore: update lance dependency to v5.0.0-beta.4 --- Cargo.lock | 95 +++++++++++++++--------------- Cargo.toml | 28 ++++----- java/pom.xml | 2 +- rust/lancedb/src/table.rs | 2 +- rust/lancedb/src/table/optimize.rs | 2 +- 5 files changed, 64 insertions(+), 65 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2321227c4..bcf443e35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3072,9 +3072,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2195cc7f87e84bd695586137de99605e7e9579b26ec5e01b82960ddb4d0922f2" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow-array", "rand 0.9.2", @@ -3956,6 +3955,17 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "io-uring" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdd7bddefd0a8833b88a4b68f90dae22c7450d11b354198baee3874fd811b344" +dependencies = [ + "bitflags", + "cfg-if", + "libc", +] + [[package]] name = "ipnet" version = "2.12.0" @@ -4124,9 +4134,8 @@ dependencies = [ [[package]] name = "lance" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efe6c3ddd79cdfd2b7e1c23cafae52806906bc40fbd97de9e8cf2f8c7a75fc04" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "arrow-arith", @@ -4192,9 +4201,8 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d9f5d95bdda2a2b790f1fb8028b5b6dcf661abeb3133a8bca0f3d24b054af87" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow-array", "arrow-buffer", @@ -4214,9 +4222,8 @@ dependencies = [ [[package]] name = "lance-bitpacking" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f827d6ab9f8f337a9509d5ad66a12f3314db8713868260521c344ef6135eb4e4" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrayref", "paste", @@ -4225,9 +4232,8 @@ dependencies = [ [[package]] name = "lance-core" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1e25df6a79bf72ee6bcde0851f19b1cd36c5848c1b7db83340882d3c9fdecb" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow-array", "arrow-buffer", @@ -4264,9 +4270,8 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93146de8ae720cb90edef81c2f2d0a1b065fc2f23ecff2419546f389b0fa70a4" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "arrow-array", @@ -4296,9 +4301,8 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccec8ce4d8e0a87a99c431dab2364398029f2ffb649c1a693c60c79e05ed30dd" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "arrow-array", @@ -4316,9 +4320,8 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1aec0bbbac6bce829bc10f1ba066258126100596c375fb71908ecf11c2c2a5" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow-arith", "arrow-array", @@ -4355,9 +4358,8 @@ dependencies = [ [[package]] name = "lance-file" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14a8c548804f5b17486dc2d3282356ed1957095a852780283bc401fdd69e9075" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow-arith", "arrow-array", @@ -4389,9 +4391,8 @@ dependencies = [ [[package]] name = "lance-index" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da212f0090ea59f79ac3686660f596520c167fe1cb5f408900cf71d215f0e03" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "arrow-arith", @@ -4455,9 +4456,8 @@ dependencies = [ [[package]] name = "lance-io" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d958eb4b56f03bbe0f5f85eb2b4e9657882812297b6f711f201ffc995f259f" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "arrow-arith", @@ -4477,10 +4477,13 @@ dependencies = [ "deepsize", "futures", "http 1.4.0", + "io-uring", "lance-arrow", "lance-core", "lance-namespace", + "libc", "log", + "moka", "object_store", "object_store_opendal", "opendal", @@ -4498,9 +4501,8 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0285b70da35def7ed95e150fae1d5308089554e1290470403ed3c50cb235bc5e" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow-array", "arrow-buffer", @@ -4516,9 +4518,8 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f78e2a828b654e062a495462c6e3eb4fcf0e7e907d761b8f217fc09ccd3ceac" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "async-trait", @@ -4531,9 +4532,8 @@ dependencies = [ [[package]] name = "lance-namespace-impls" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2392314f3da38f00d166295e44244208a65ccfc256e274fa8631849fc3f4d94" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "arrow-ipc", @@ -4547,6 +4547,7 @@ dependencies = [ "lance-core", "lance-index", "lance-io", + "lance-linalg", "lance-namespace", "lance-table", "log", @@ -4577,9 +4578,8 @@ dependencies = [ [[package]] name = "lance-table" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df9c4adca3eb2074b3850432a9fb34248a3d90c3d6427d158b13ff9355664ee" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow", "arrow-array", @@ -4618,9 +4618,8 @@ dependencies = [ [[package]] name = "lance-testing" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ed7119bdd6983718387b4ac44af873a165262ca94f181b104cd6f97912eb3bf" +version = "5.0.0-beta.4" +source = "git+https://github.com/lance-format/lance.git?tag=v5.0.0-beta.4#d9068e76a301df9e21d7282419f24f61a11375ac" dependencies = [ "arrow-array", "arrow-schema", diff --git a/Cargo.toml b/Cargo.toml index be7726dfd..feef1066d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,20 +15,20 @@ categories = ["database-implementations"] rust-version = "1.91.0" [workspace.dependencies] -lance = { version = "=4.0.0", default-features = false } -lance-core = { version = "=4.0.0" } -lance-datagen = { version = "=4.0.0" } -lance-file = { version = "=4.0.0" } -lance-io = { version = "=4.0.0", default-features = false } -lance-index = { version = "=4.0.0" } -lance-linalg = { version = "=4.0.0" } -lance-namespace = { version = "=4.0.0" } -lance-namespace-impls = { version = "=4.0.0", default-features = false } -lance-table = { version = "=4.0.0" } -lance-testing = { version = "=4.0.0" } -lance-datafusion = { version = "=4.0.0" } -lance-encoding = { version = "=4.0.0" } -lance-arrow = { version = "=4.0.0" } +lance = { "version" = "=5.0.0-beta.4", default-features = false, "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-core = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-datagen = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-file = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-io = { "version" = "=5.0.0-beta.4", default-features = false, "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-index = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-linalg = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace-impls = { "version" = "=5.0.0-beta.4", default-features = false, "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-table = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-testing = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-datafusion = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-encoding = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance-arrow = { "version" = "=5.0.0-beta.4", "tag" = "v5.0.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } ahash = "0.8" # Note that this one does not include pyarrow arrow = { version = "57.2", optional = false } diff --git a/java/pom.xml b/java/pom.xml index 15d491979..9455ad9cf 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -28,7 +28,7 @@ UTF-8 15.0.0 - 3.0.1 + 5.0.0-beta.4 false 2.30.0 1.7 diff --git a/rust/lancedb/src/table.rs b/rust/lancedb/src/table.rs index 7eac7463a..e0fb7de75 100644 --- a/rust/lancedb/src/table.rs +++ b/rust/lancedb/src/table.rs @@ -19,11 +19,11 @@ pub use lance::dataset::Version; use lance::dataset::WriteMode; use lance::dataset::builder::DatasetBuilder; use lance::dataset::{InsertBuilder, WriteParams}; +use lance::index::DatasetIndexExt; use lance::index::vector::VectorIndexParams; use lance::index::vector::utils::infer_vector_dim; use lance::io::{ObjectStoreParams, WrappingObjectStore}; use lance_datafusion::utils::StreamingWriteSource; -use lance_index::DatasetIndexExt; use lance_index::IndexType; use lance_index::scalar::{BuiltinIndexType, ScalarIndexParams}; use lance_index::vector::bq::RQBuildParams; diff --git a/rust/lancedb/src/table/optimize.rs b/rust/lancedb/src/table/optimize.rs index 1b2966faf..e29445b2d 100644 --- a/rust/lancedb/src/table/optimize.rs +++ b/rust/lancedb/src/table/optimize.rs @@ -10,7 +10,7 @@ use std::sync::Arc; use lance::dataset::cleanup::RemovalStats; use lance::dataset::optimize::{CompactionMetrics, IndexRemapperOptions, compact_files}; -use lance_index::DatasetIndexExt; +use lance::index::DatasetIndexExt; use lance_index::optimize::OptimizeOptions; use log::info;