Repository navigation
chore: update lance dependency to v11.0.0-beta.3 - #3896
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
There was a problem hiding this comment.
❌ Gate recommendation: request changes.
The coordinated beta.3 bump is otherwise coherent, but the Java half cannot currently resolve the selected Lance artifact. Wait to land the coordinated update until beta.3 is available from Maven Central and the Java install succeeds; that preserves the cross-binding version invariant without leaving the Java build unusable.
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| <arrow.version>15.0.0</arrow.version> | ||
| <lance-core.version>11.0.0-beta.2</lance-core.version> | ||
| <lance-core.version>11.0.0-beta.3</lance-core.version> |
There was a problem hiding this comment.
org.lance:lance-core:11.0.0-beta.3 is not available from Maven Central, so selecting it makes the Java reactor fail during dependency resolution before it can compile. Wait for the matching artifact to be published, then rerun the Java package/install path against this exact version.
Reproducer
From java/:
./mvnw --batch-mode -U -DskipTests package -pl lancedb-core -amExpected: dependency resolution and the package build succeed.
Observed: Could not find artifact org.lance:lance-core:jar:11.0.0-beta.3 in central.
…icies Picks up lance v11.0.0-beta.3 (#3896), which released the `validate_maintained_indexes` API this branch calls. Resolves the Cargo.toml/Cargo.lock conflict in favor of main: the temporary `rev = "f0652582..."` pin at lance-format/lance#8360 from ea2af18 is gone, along with the "do not merge with this pin" comment that guarded it. beta.3 carries the function at rust/lance/src/dataset/mem_wal/api.rs, so the pin has served its purpose. Took main's Cargo.lock wholesale — the only differences from this branch's lock were the lance version bumps and main's own futures feature change (#3800), as the branch added no other dependency. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
## Summary - add Python regression coverage for integer and double arithmetic against the generated _distance column - merge the current main base containing Lance v11.0.0-beta.3 from #3896 - verify both expressions retain the generated scoring field Float32 type and compute the expected values ## Root cause Lance parsed dynamic projection expressions before vector search added its generated Float32 _distance field. Without a typed provisional field, expression discovery rejected mixed numeric arithmetic. Lance upstream fixed discovery and final-schema replanning in lance-format/lance#8163, and the current base consumes that fix through Lance v11.0.0-beta.3. ## Validation - uv run --extra tests pytest python/tests/test_query.py::test_select_arithmetic_with_distance -vv --maxfail=2 — 2 passed - python/.venv/bin/ruff format --check python/python/tests/test_query.py - python/.venv/bin/ruff check . Fixes #2618 <!-- lance-gatekeeper-fix:v1 agent=816a060090517471edfb73652bb5c9fe generation=1 --> --------- Co-authored-by: Gatefixer <313497061+lancedb-gatefixer[bot]@users.noreply.github.com> Co-authored-by: Xuanwo <[email protected]>
Updates the Rust workspace Lance dependencies and Java lance-core dependency to v11.0.0-beta.3. No compatibility fixes were required; all-features clippy and Rust formatting pass. Triggering tag: https://github.com/lance-format/lance/releases/tag/v11.0.0-beta.3