Skip to content

chore: update lance dependency to v13.0.0-beta.18 - #4339

Merged
Xuanwo merged 2 commits into
mainfrom
xuanwo/update-lance-13-0-0-beta-18
Sep 29, 2026
Merged

Xuanwo merged 2 commits into
mainfrom
xuanwo/update-lance-13-0-0-beta-18

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Sep 28, 2026

Copy link
Copy Markdown
Member

Updates the Rust workspace dependencies, Cargo lockfile, and Java lance-core to Lance v13.0.0-beta.18. It includes lance-format/lance#9574, which bounds the memory an IVF partition split uses when it re-reads raw vectors during optimize_indices, and lance-format/lance#9582, which keeps the mTLS REST namespace client on rustls.

Lance's new combined-fields FTS query variant (introduced by v13.0.0-beta.17) is handled the same way as in #4336: the remote capability check and Rust/Node bindings accept it, with a regression test for the remote request payload, and the Python conversion reports that this query type is not yet supported. This PR supersedes #4336.

@github-actions github-actions Bot added Python Python SDK Rust Rust related issues chore Small non-consequential change. Hidden from changelogs. labels Sep 28, 2026
@Xuanwo
Xuanwo marked this pull request as ready for review September 29, 2026 09:00

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

…3-0-0-beta-18

# Conflicts:
#	Cargo.lock
#	Cargo.toml

@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 beta.18 update carries Lance's bounded IVF split reads and rustls mTLS fix. Its new combined-fields query works on the structured remote wire, but the supported legacy wire silently turns it into a plain text search. Please reject combined-fields queries, including nested ones, for servers below 0.3.0 unless that wire can preserve BM25F semantics.

Please mark this PR with the breaking-change label.

fn fts_query_requires_document_granularity_support(query: &FtsQuery) -> bool {
match query {
// Combined-fields queries do not expose a document granularity option.
FtsQuery::CombinedFields(_) => false,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

On a 0.1/0.2 server this new variant passes the granularity check, then apply_query_params takes the legacy branch and sends only text and columns. That wire drops the combined_fields type, its weights, and its operator, so a successful response cannot retain the requested BM25F semantics. Please return NotSupported at the old-server boundary (including nested CombinedFields in Boolean/Boost queries), or encode equivalent semantics.

Reproducer: change only the mock server version in test_query_combined_fields_uses_structured_fts from 0.3.0 to 0.2.0, then run cargo test --features remote -p lancedb test_query_combined_fields_uses_structured_fts --lib --quiet. The expected combined_fields object becomes String("hello world"); the assertion fails.

@lancedb-gatekeeper lancedb-gatekeeper Bot added the K-changes Latest Gatekeeper recommendation requests changes. label Sep 29, 2026
@Xuanwo
Xuanwo merged commit ea223c4 into main Sep 29, 2026
53 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/update-lance-13-0-0-beta-18 branch September 29, 2026 15:20
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. Python Python SDK Rust Rust related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants