From 1bf6b3ea7e336bbd1a1450108075b3d1e406cf95 Mon Sep 17 00:00:00 2001 From: LanceDB Robot Date: Mon, 20 Jul 2026 19:40:49 -0700 Subject: [PATCH] chore: update lance dependency to v9.1.0-beta.5 (#3696) Updates the Rust workspace Lance dependencies and Java lance-core from v9.1.0-beta.4 to v9.1.0-beta.5. No compatibility fixes were required. Triggering tag: https://github.com/lance-format/lance/releases/tag/v9.1.0-beta.5 --------- Co-authored-by: Lu Qiu Co-authored-by: Claude Fable 5 --- Cargo.lock | 84 +++++++++++++++++----------------- Cargo.toml | 28 ++++++------ java/pom.xml | 2 +- python/python/lancedb/query.py | 20 ++++---- 4 files changed, 66 insertions(+), 68 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d484f8c5c..7f89fd576 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3421,8 +3421,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fsst" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-array", "rand 0.9.5", @@ -4777,8 +4777,8 @@ checksum = "e037a2e1d8d5fdbd49b16a4ea09d5d6401c1f29eca5ff29d03d3824dba16256a" [[package]] name = "lance" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arc-swap", "arrow", @@ -4852,8 +4852,8 @@ dependencies = [ [[package]] name = "lance-arrow" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" 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.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" 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.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-array", "arrow-schema", @@ -4898,8 +4898,8 @@ dependencies = [ [[package]] name = "lance-bitpacking" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrayref", "crunchy", @@ -4909,8 +4909,8 @@ dependencies = [ [[package]] name = "lance-core" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-array", "arrow-buffer", @@ -4948,8 +4948,8 @@ dependencies = [ [[package]] name = "lance-datafusion" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow", "arrow-array", @@ -4979,8 +4979,8 @@ dependencies = [ [[package]] name = "lance-datagen" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow", "arrow-array", @@ -4997,8 +4997,8 @@ dependencies = [ [[package]] name = "lance-derive" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "proc-macro2", "quote", @@ -5007,8 +5007,8 @@ dependencies = [ [[package]] name = "lance-encoding" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-arith", "arrow-array", @@ -5043,8 +5043,8 @@ dependencies = [ [[package]] name = "lance-file" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-arith", "arrow-array", @@ -5074,8 +5074,8 @@ dependencies = [ [[package]] name = "lance-index" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arc-swap", "arrow", @@ -5141,8 +5141,8 @@ dependencies = [ [[package]] name = "lance-index-core" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-array", "arrow-schema", @@ -5164,8 +5164,8 @@ dependencies = [ [[package]] name = "lance-io" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow", "arrow-arith", @@ -5208,8 +5208,8 @@ dependencies = [ [[package]] name = "lance-linalg" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-array", "arrow-buffer", @@ -5225,8 +5225,8 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow", "async-trait", @@ -5238,8 +5238,8 @@ dependencies = [ [[package]] name = "lance-namespace-impls" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow", "arrow-ipc", @@ -5293,8 +5293,8 @@ dependencies = [ [[package]] name = "lance-select" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-array", "arrow-buffer", @@ -5309,8 +5309,8 @@ dependencies = [ [[package]] name = "lance-table" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow", "arrow-array", @@ -5349,8 +5349,8 @@ dependencies = [ [[package]] name = "lance-testing" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "arrow-array", "arrow-schema", @@ -5363,8 +5363,8 @@ dependencies = [ [[package]] name = "lance-tokenizer" -version = "9.1.0-beta.4" -source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.4#3b2420bca2ac3bc33ed3ee02866f0d4c3afb8b65" +version = "9.1.0-beta.5" +source = "git+https://github.com/lance-format/lance.git?tag=v9.1.0-beta.5#0f3a4eea3ffed49b271086f2c179d924b389399e" dependencies = [ "icu_segmenter", "jieba-rs", diff --git a/Cargo.toml b/Cargo.toml index 0316b0022..4259ae2a9 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.4", default-features = false, "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-core = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-datagen = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-file = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-io = { "version" = "=9.1.0-beta.4", default-features = false, "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-index = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-linalg = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-namespace-impls = { "version" = "=9.1.0-beta.4", default-features = false, "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-table = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-testing = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-datafusion = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-encoding = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } -lance-arrow = { "version" = "=9.1.0-beta.4", "tag" = "v9.1.0-beta.4", "git" = "https://github.com/lance-format/lance.git" } +lance = { "version" = "=9.1.0-beta.5", default-features = false, "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-core = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-datagen = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-file = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-io = { "version" = "=9.1.0-beta.5", default-features = false, "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-index = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-linalg = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-namespace-impls = { "version" = "=9.1.0-beta.5", default-features = false, "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-table = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-testing = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-datafusion = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-encoding = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "git" = "https://github.com/lance-format/lance.git" } +lance-arrow = { "version" = "=9.1.0-beta.5", "tag" = "v9.1.0-beta.5", "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 45a4963ed..380167d13 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -28,7 +28,7 @@ UTF-8 15.0.0 - 9.1.0-beta.4 + 9.1.0-beta.5 false 2.30.0 1.7 diff --git a/python/python/lancedb/query.py b/python/python/lancedb/query.py index cd8381a3c..9a730e35f 100644 --- a/python/python/lancedb/query.py +++ b/python/python/lancedb/query.py @@ -3875,18 +3875,16 @@ class AsyncHybridQuery(AsyncStandardQuery, AsyncVectorQueryBase): >>> asyncio.run(doctest_example()) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE RRFReranker(K=60) ProjectionExec: expr=[vector@0 as vector, text@3 as text, _distance@2 as _distance] - Take: columns="vector, _rowid, _distance, (text)" - CoalesceBatchesExec: target_batch_size=1024 - GlobalLimitExec: skip=0, fetch=10 - FilterExec: _distance@2 IS NOT NULL - SortExec: TopK(fetch=10), expr=[_distance@2 ASC NULLS LAST, _rowid@1 ASC NULLS LAST], preserve_partitioning=[false] - KNNVectorDistance: metric=l2 - LanceRead: uri=..., projection=[vector], ... + LanceRead: uri=..., projection=[text], source=stream(_rowid) + GlobalLimitExec: skip=0, fetch=10 + FilterExec: _distance@2 IS NOT NULL + SortExec: TopK(fetch=10), expr=[_distance@2 ASC NULLS LAST, _rowid@1 ASC NULLS LAST], preserve_partitioning=[false] + KNNVectorDistance: metric=l2 + LanceRead: uri=..., projection=[vector], ... ProjectionExec: expr=[vector@2 as vector, text@3 as text, _score@1 as _score] - Take: columns="_rowid, _score, (vector), (text)" - CoalesceBatchesExec: target_batch_size=1024 - GlobalLimitExec: skip=0, fetch=10 - MatchQuery: column=text, query=[hello] + LanceRead: uri=..., projection=[vector, text], source=stream(_rowid) + GlobalLimitExec: skip=0, fetch=10 + MatchQuery: column=text, query=[hello] Parameters ----------