Merge main into gatekeeper/fix-4911-1

This commit is contained in:
Gatefixer
2026-11-23 03:37:08 +00:00
24 changed files with 187 additions and 103 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.42.0-beta.23"
current_version = "0.42.0-beta.25"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
Generated
+51 -51
View File
@@ -3885,8 +3885,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
[[package]]
name = "fsst"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"rand 0.9.5",
@@ -5364,8 +5364,8 @@ checksum = "e037a2e1d8d5fdbd49b16a4ea09d5d6401c1f29eca5ff29d03d3824dba16256a"
[[package]]
name = "lance"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arc-swap",
"arrow",
@@ -5440,8 +5440,8 @@ dependencies = [
[[package]]
name = "lance-arrow"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -5463,7 +5463,7 @@ dependencies = [
[[package]]
name = "lance-arrow-scalar"
version = "59.0.0"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -5477,7 +5477,7 @@ dependencies = [
[[package]]
name = "lance-arrow-stats"
version = "59.0.0"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -5486,8 +5486,8 @@ dependencies = [
[[package]]
name = "lance-bitpacking"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrayref",
"crunchy",
@@ -5497,8 +5497,8 @@ dependencies = [
[[package]]
name = "lance-core"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -5536,8 +5536,8 @@ dependencies = [
[[package]]
name = "lance-datafusion"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow",
"arrow-array",
@@ -5568,8 +5568,8 @@ dependencies = [
[[package]]
name = "lance-datafusion-exec"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow",
"arrow-array",
@@ -5594,8 +5594,8 @@ dependencies = [
[[package]]
name = "lance-datagen"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow",
"arrow-array",
@@ -5612,8 +5612,8 @@ dependencies = [
[[package]]
name = "lance-derive"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"proc-macro2",
"quote",
@@ -5622,8 +5622,8 @@ dependencies = [
[[package]]
name = "lance-encoding"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -5657,8 +5657,8 @@ dependencies = [
[[package]]
name = "lance-file"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-arith",
"arrow-array",
@@ -5689,8 +5689,8 @@ dependencies = [
[[package]]
name = "lance-geo"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -5721,8 +5721,8 @@ dependencies = [
[[package]]
name = "lance-index"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arc-swap",
"arrow",
@@ -5795,8 +5795,8 @@ dependencies = [
[[package]]
name = "lance-index-core"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -5819,8 +5819,8 @@ dependencies = [
[[package]]
name = "lance-io"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow",
"arrow-array",
@@ -5865,8 +5865,8 @@ dependencies = [
[[package]]
name = "lance-jsonb"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"byteorder",
"ethnum",
@@ -5883,7 +5883,7 @@ dependencies = [
[[package]]
name = "lance-linalg"
version = "15.0.0-beta.27"
version = "15.0.0-beta.28"
dependencies = [
"approx",
"argminmax 0.7.1",
@@ -5905,8 +5905,8 @@ dependencies = [
[[package]]
name = "lance-namespace"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow",
"async-trait",
@@ -5920,8 +5920,8 @@ dependencies = [
[[package]]
name = "lance-namespace-impls"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arc-swap",
"arrow",
@@ -5975,8 +5975,8 @@ dependencies = [
[[package]]
name = "lance-select"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -5990,8 +5990,8 @@ dependencies = [
[[package]]
name = "lance-table"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow",
"arrow-array",
@@ -6032,8 +6032,8 @@ dependencies = [
[[package]]
name = "lance-testing"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"arrow-array",
"arrow-schema",
@@ -6046,8 +6046,8 @@ dependencies = [
[[package]]
name = "lance-tokenizer"
version = "15.0.0-beta.27"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.27#c76f845da048c282ea2e22442171cb2a84a40d98"
version = "15.0.0-beta.28"
source = "git+https://github.com/lance-format/lance.git?tag=v15.0.0-beta.28#4e5530c0ed83d3978e35d0e585257ddf438b9cf7"
dependencies = [
"frostem",
"icu_segmenter",
@@ -6060,7 +6060,7 @@ dependencies = [
[[package]]
name = "lancedb"
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
dependencies = [
"ahash",
"anyhow",
@@ -6171,7 +6171,7 @@ dependencies = [
[[package]]
name = "lancedb-cli"
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
dependencies = [
"anyhow",
"arrow-array",
@@ -6214,7 +6214,7 @@ dependencies = [
[[package]]
name = "lancedb-nodejs"
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -6240,7 +6240,7 @@ dependencies = [
[[package]]
name = "lancedb-python"
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
dependencies = [
"arc-swap",
"arrow",
+14 -14
View File
@@ -20,20 +20,20 @@ categories = ["database-implementations"]
rust-version = "1.95.0"
[workspace.dependencies]
lance = { "version" = "=15.0.0-beta.27", default-features = false, "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=15.0.0-beta.27", default-features = false, "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-jsonb = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=15.0.0-beta.27", default-features = false, "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance = { "version" = "=15.0.0-beta.28", default-features = false, "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-core = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-datagen = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-file = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-io = { "version" = "=15.0.0-beta.28", default-features = false, "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-index = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-jsonb = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-namespace-impls = { "version" = "=15.0.0-beta.28", default-features = false, "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-table = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-testing = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-datafusion = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-arrow = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lancedb = { path = "rust/lancedb", default-features = false }
ahash = "0.8"
anyhow = "1"
+1 -1
View File
@@ -14,7 +14,7 @@ Add the following dependency to your `pom.xml`:
<dependency>
<groupId>com.lancedb</groupId>
<artifactId>lancedb-core</artifactId>
<version>0.42.0-beta.23</version>
<version>0.42.0-beta.25</version>
</dependency>
```
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>com.lancedb</groupId>
<artifactId>lancedb-parent</artifactId>
<version>0.42.0-beta.23</version>
<version>0.42.0-beta.24</version>
<relativePath>../pom.xml</relativePath>
</parent>
+2 -2
View File
@@ -6,7 +6,7 @@
<groupId>com.lancedb</groupId>
<artifactId>lancedb-parent</artifactId>
<version>0.42.0-beta.23</version>
<version>0.42.0-beta.24</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>LanceDB Java SDK Parent POM</description>
@@ -28,7 +28,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<arrow.version>15.0.0</arrow.version>
<lance-core.version>15.0.0-beta.27</lance-core.version>
<lance-core.version>15.0.0-beta.28</lance-core.version>
<jackson.version>2.18.12</jackson.version>
<spotless.skip>false</spotless.skip>
<spotless.version>2.30.0</spotless.version>
+1 -1
View File
@@ -1,7 +1,7 @@
[package]
name = "lancedb-nodejs"
edition.workspace = true
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
publish = false
license.workspace = true
description.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-darwin-arm64",
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"os": ["darwin"],
"cpu": ["arm64"],
"main": "lancedb.darwin-arm64.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-arm64-gnu",
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"os": ["linux"],
"cpu": ["arm64"],
"main": "lancedb.linux-arm64-gnu.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-arm64-musl",
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"os": ["linux"],
"cpu": ["arm64"],
"main": "lancedb.linux-arm64-musl.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-x64-gnu",
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"os": ["linux"],
"cpu": ["x64"],
"main": "lancedb.linux-x64-gnu.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-linux-x64-musl",
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"os": ["linux"],
"cpu": ["x64"],
"main": "lancedb.linux-x64-musl.node",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-win32-arm64-msvc",
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"os": [
"win32"
],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@lancedb/lancedb-win32-x64-msvc",
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"os": ["win32"],
"cpu": ["x64"],
"main": "lancedb.win32-x64-msvc.node",
+1 -1
View File
@@ -11,7 +11,7 @@
"ann"
],
"private": false,
"version": "0.42.0-beta.23",
"version": "0.42.0-beta.25",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "lancedb-python"
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
publish = false
edition.workspace = true
description = "Python bindings for LanceDB"
+1 -1
View File
@@ -64,7 +64,7 @@ tests = [
"polars>=0.19, <=1.32.3",
"pyarrow>=16",
"pyarrow-stubs>=16.0",
"pylance==15.0.0b27",
"pylance==15.0.0b28",
"requests>=2.31.0",
"datafusion>=54,<55",
"opentelemetry-sdk>=1.30.0",
+9 -9
View File
@@ -2147,7 +2147,7 @@ requires-dist = [
{ name = "pyarrow-stubs", marker = "extra == 'tests'", specifier = ">=16.0" },
{ name = "pydantic", specifier = ">=2.7.4,<3" },
{ name = "pylance", marker = "extra == 'pylance'", specifier = ">=15.0.0b3" },
{ name = "pylance", marker = "extra == 'tests'", specifier = "==15.0.0b27" },
{ name = "pylance", marker = "extra == 'tests'", specifier = "==15.0.0b28" },
{ name = "pyright", marker = "extra == 'dev'", specifier = ">=1.1.350" },
{ name = "pytest", marker = "extra == 'tests'", specifier = ">=7.0" },
{ name = "pytest-asyncio", marker = "extra == 'tests'", specifier = ">=0.21" },
@@ -4301,7 +4301,7 @@ crypto = [
[[package]]
name = "pylance"
version = "15.0.0b27"
version = "15.0.0b28"
source = { registry = "https://pypi.fury.io/lance-format/" }
dependencies = [
{ name = "lance-namespace" },
@@ -4309,13 +4309,13 @@ dependencies = [
{ name = "pyarrow", version = "26.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
]
wheels = [
{ url = "https://pypi.fury.io/lance-format/-/ver_23mktS/pylance-15.0.0b27-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:b81afcb02f9de54ec918cde7d1e8838a7abdc1c14dee1d2a548e43c8623180b8" },
{ url = "https://pypi.fury.io/lance-format/-/ver_eNEyS/pylance-15.0.0b27-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9ed8a224b62dae1fe9c66252edbadf6d4eb43e9aac08f79f45e9b76415e36a36" },
{ url = "https://pypi.fury.io/lance-format/-/ver_BJR8Z/pylance-15.0.0b27-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6d5afb866611fcae0f2190a3dd8f3bb146f390d4bf81367771fa10dd5fdcdb42" },
{ url = "https://pypi.fury.io/lance-format/-/ver_KxKCh/pylance-15.0.0b27-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:713fbd4ba7715ef288cbd3b2498e44433553e8ea57b928e6455192a6b293fa00" },
{ url = "https://pypi.fury.io/lance-format/-/ver_3Kl2K/pylance-15.0.0b27-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:8f6a9931d1bb36a46dd9e57023e759f788a10a722af6bdb1a53fc659ae41c3b4" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1hY5fW/pylance-15.0.0b27-cp310-abi3-win_amd64.whl", hash = "sha256:98ecd2997b6ec8e0a529c1dc3258a51e50c823b811ffec1e5334fc351788e544" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1w2aa4/pylance-15.0.0b27-cp310-abi3-win_arm64.whl", hash = "sha256:1cbc34cb4eea18fe46cb3e128d17bd71fb94f4288d50a88a37ecf9b3ef0df034" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1A4l0O/pylance-15.0.0b28-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:6ca435b679f4f8604be1bb7b837b50b3d89515341b3442edb87e1e6c55c5cb63" },
{ url = "https://pypi.fury.io/lance-format/-/ver_TIpgr/pylance-15.0.0b28-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b71b9631f144dd54116d87975d2a24554455ca12ca918e884999df507a2f42b" },
{ url = "https://pypi.fury.io/lance-format/-/ver_mx2vF/pylance-15.0.0b28-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:066fb23b2d82dcd1f23d91db1fc3dd61711f131601dd10d2c6598faea2a8b112" },
{ url = "https://pypi.fury.io/lance-format/-/ver_mpvK4/pylance-15.0.0b28-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:656153c618d3b9bb7c7257eb18ec6b415592f36ff84fcf9d2a36d7b9eff2e488" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1UdGUL/pylance-15.0.0b28-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:cdffc1526421d7182947dfdff736771c14f68db512d7416b198980905a9be38c" },
{ url = "https://pypi.fury.io/lance-format/-/ver_Oxx9g/pylance-15.0.0b28-cp310-abi3-win_amd64.whl", hash = "sha256:c825a946d685490f4ce15cf2af47a6974f874a9b6d58d3cd27d1c77ead6b4198" },
{ url = "https://pypi.fury.io/lance-format/-/ver_1eOyi2/pylance-15.0.0b28-cp310-abi3-win_arm64.whl", hash = "sha256:526a90cb7b0605e4105d1bc6d4f69341bf10f6cbf0ac01f7c3191f48a00b424a" },
]
[[package]]
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "lancedb"
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
edition.workspace = true
description = "LanceDB: A serverless, low-latency vector database for AI applications"
license.workspace = true
@@ -46,7 +46,7 @@ lance-io = { workspace = true }
lance-index = { workspace = true, features = ["tokenizer-jieba", "tokenizer-lindera"] }
lance-table = { workspace = true }
# Keep the upstream source for downstream SDKs, where workspace patches do not apply.
lance-linalg = { "version" = "=15.0.0-beta.27", "tag" = "v15.0.0-beta.27", "git" = "https://github.com/lance-format/lance.git" }
lance-linalg = { "version" = "=15.0.0-beta.28", "tag" = "v15.0.0-beta.28", "git" = "https://github.com/lance-format/lance.git" }
lance-encoding = { workspace = true }
lance-arrow = { workspace = true }
lance-namespace = { workspace = true }
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "lancedb-cli"
version = "0.42.0-beta.23"
version = "0.42.0-beta.25"
edition = "2021"
license.workspace = true
repository.workspace = true
+34 -1
View File
@@ -87,7 +87,9 @@ pub struct ClientConfig {
/// Maximum concurrent blob HTTP requests for this connection, shared by all
/// tables and blob handles. Defaults to 8. The environment variable
/// `LANCE_CLIENT_BLOB_REQUEST_CONCURRENCY` can also set this limit.
/// The value must be greater than zero.
/// The value must be between 1 and [`Semaphore::MAX_PERMITS`], inclusive.
/// Values outside that range are rejected with [`Error::InvalidInput`] when
/// the connection is created.
pub blob_request_concurrency: Option<usize>,
/// User agent to use for requests. The default provides the library
/// name and version.
@@ -648,6 +650,14 @@ impl RestfulLanceDbClient<Sender> {
message: "blob request concurrency must be greater than zero".into(),
});
}
if value > Semaphore::MAX_PERMITS {
return Err(Error::InvalidInput {
message: format!(
"blob request concurrency must be at most {}, got {value}",
Semaphore::MAX_PERMITS
),
});
}
Ok(value)
}
@@ -1505,6 +1515,29 @@ mod tests {
);
}
/// A semaphore cannot hold more than `MAX_PERMITS`, so a larger configured
/// value is refused where it was set instead of panicking when the
/// connection is created.
#[test]
fn test_blob_request_concurrency_must_fit_a_semaphore() {
let error = RestfulLanceDbClient::<Sender>::resolve_blob_request_concurrency(Some(
super::Semaphore::MAX_PERMITS + 1,
))
.expect_err("a concurrency above the semaphore limit must be refused");
assert!(matches!(error, Error::InvalidInput { .. }));
assert!(
error.to_string().contains("blob request concurrency"),
"{error}"
);
assert_eq!(
RestfulLanceDbClient::<Sender>::resolve_blob_request_concurrency(Some(
super::Semaphore::MAX_PERMITS
))
.unwrap(),
super::Semaphore::MAX_PERMITS
);
}
use super::*;
use serial_test::serial;
use std::time::Duration;
+57 -6
View File
@@ -273,13 +273,11 @@ pub async fn create_plan(
Some(query.query_vector[0].len() as i32),
)?);
}
let vector_field = schema.field(column.as_ref().unwrap()).unwrap();
let (_, element_type) =
let (vector_type, element_type) =
lance::index::vector::utils::get_vector_type(schema, column.as_ref().unwrap())?;
let is_list_vector = matches!(&vector_type, DataType::List(_));
let is_binary = matches!(element_type, DataType::UInt8);
if matches!(vector_field.data_type(), DataType::List(_))
|| (query.base.offset.unwrap_or(0) == 0 && !is_binary)
{
if is_list_vector || (query.base.offset.unwrap_or(0) == 0 && !is_binary) {
// Lance distinguishes these cases from the vector column type: a
// list-like query against a List column is one multivector query,
// while the same query against a FixedSizeList column is a batch of
@@ -315,7 +313,7 @@ pub async fn create_plan(
fsl_builder.append(true);
}
query_vector = Some(Arc::new(fsl_builder.finish()));
is_batch_query = !matches!(vector_field.data_type(), DataType::List(_));
is_batch_query = !is_list_vector;
} else {
// Lance's batch path has no per-query offset, and its binary path
// requires primitive UInt8 queries rather than a fixed-size list.
@@ -2091,6 +2089,59 @@ mod tests {
"plan should add query_index column, got:\n{display}"
);
}
#[tokio::test]
async fn test_create_plan_batch_vector_missing_column_returns_sdk_error() {
use crate::connect;
use crate::table::query::create_plan;
use arrow_array::{Float32Array, RecordBatch};
use arrow_schema::{DataType, Field, Schema};
let conn = connect("memory://").execute().await.unwrap();
let schema = Arc::new(Schema::new(vec![
Field::new("id", DataType::Int32, false),
Field::new(
"vector",
DataType::FixedSizeList(Arc::new(Field::new("item", DataType::Float32, true)), 2),
false,
),
]));
let batch = RecordBatch::new_empty(schema);
let table = conn
.create_table("test_batch_vector_missing_column", vec![batch])
.execute()
.await
.unwrap();
let native_table = table.as_native().unwrap();
let query = AnyQuery::VectorQuery(VectorQueryRequest {
base: QueryRequest {
limit: Some(1),
..Default::default()
},
column: Some("missing_vector".to_string()),
query_vector: vec![
Arc::new(Float32Array::from(vec![1.0, 2.0])),
Arc::new(Float32Array::from(vec![3.0, 4.0])),
],
..Default::default()
});
let error = create_plan(native_table, &query, QueryExecutionOptions::default())
.await
.unwrap_err();
assert!(
matches!(
&error,
Error::Lance {
source: lance::Error::Index { message, .. }
} if message.contains("column missing_vector does not exist in schema")
),
"expected ordinary vector column validation error, got: {error:?}"
);
}
#[rstest::rstest]
#[case::modern(false)]
#[case::legacy(true)]
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "lance-linalg"
version = "15.0.0-beta.27"
version = "15.0.0-beta.28"
publish = false
edition = { workspace = true }
license = { workspace = true }
+2 -2
View File
@@ -1,5 +1,5 @@
This directory contains `rust/lance-linalg` from Lance tag `v15.0.0-beta.27`
(commit `c76f845da048c282ea2e22442171cb2a84a40d98`), licensed under Apache-2.0.
This directory contains `rust/lance-linalg` from Lance tag `v15.0.0-beta.28`
(commit `4e5530c0ed83d3978e35d0e585257ddf438b9cf7`), licensed under Apache-2.0.
LanceDB patches `src/distance/cosine.rs` to recompute FLOAT32 cosine distances
in FLOAT64 when squared norms or dot products overflow or underflow. Ordinary