Skip to content

chore: update lance dependency to v11.0.0-beta.3 - #3896

Merged
hamersaw merged 1 commit into
mainfrom
codex/update-lance-11-0-0-beta-3
Aug 7, 2026
Merged

hamersaw merged 1 commit into
mainfrom
codex/update-lance-11-0-0-beta-3

Conversation

@lancedb-robot

Copy link
Copy Markdown
Collaborator

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

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions github-actions Bot added the chore Small non-consequential change. Hidden from changelogs. label Aug 7, 2026

@lancedb-gatekeeper lancedb-gatekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ 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.

Comment thread java/pom.xml
<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>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 -am

Expected: dependency resolution and the package build succeed.

Observed: Could not find artifact org.lance:lance-core:jar:11.0.0-beta.3 in central.

@hamersaw
hamersaw merged commit be29044 into main Aug 7, 2026
49 of 57 checks passed
@hamersaw
hamersaw deleted the codex/update-lance-11-0-0-beta-3 branch August 7, 2026 18:54
hamersaw added a commit that referenced this pull request Aug 7, 2026
…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]>
@Xuanwo Xuanwo added the K-changes Latest Gatekeeper recommendation requests changes. label Aug 10, 2026
Xuanwo added a commit that referenced this pull request Aug 27, 2026
## 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Small non-consequential change. Hidden from changelogs. K-changes Latest Gatekeeper recommendation requests changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants