AIGenLab
EN

UPDATElancedb v0.42.0-beta.38

LanceDB beta.38 computes Node fields and blocks pinned merges

Version & typev0.42.0-beta.38 · Feature
In short

LanceDB v0.42.0-beta.38 adds expression projections in Node and blocks unsafe tag and pinned-version writes; Python keeps full weight for tied keyword hits. The LanceDB release notes list four entries, and this update maps the affected workflows and the checks to run before adopting the beta.

What changed in this release

22 checkpoints in 4 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.

Node query projections

  • `select()` accepts `Expr` values so projections can contain expressions.
  • A `Map` can mix `Expr` values with SQL strings.
  • A plain object can also mix `Expr` values with SQL strings.
  • Expression projections work on ordinary `query()` operations.
  • Expression projections work on `vectorSearch()` operations.
  • Expression projections work on full-text `search()` operations.
  • Expression projections work on take queries.
  • `blobMode: "bytes"` recognizes a blob from a bare column expression by its plain name.

Remote tag reads

  • Remote tag checkout resolves the complete reference and retains the tag branch.
  • Cross-branch tags are rejected, with both branches named in the error.
  • Same-branch tags validate the numeric version before committing selector and freshness state.
  • Python `open_table(version=tag)` shares the tag validation.
  • Reading another branch's tag requires `checkout_branch` or `table.branches.checkout(...)` first.

Pinned-version writes

  • Local `merge_insert` now checks mutability.
  • Pinned handles return `InvalidInput` before merge processing.
  • The shared Rust entry applies the guard to Python and TypeScript local tables.
  • Rejected writes preserve pinned data and the latest branch version.

Hybrid normalization

  • When all FTS scores are equal, the zero range uses `tie_value=1.0`.
  • `normalize="score"` covers lone or tied FTS matches.
  • `normalize="rank"` covers lone or tied FTS matches.
  • LinearCombination and custom score rerankers give tied hits full FTS weight.
  • RRF, MRR, and vector distances keep their existing results.

Read the original announcement

On this page
  1. Release inventory
  2. This beta tightens query…
  3. Node projections now mix…
  4. Remote tags validate bran…
  5. Pinned handles can no lon…
  6. Python hybrid search now…
  7. LanceDB computes projecti…
  8. Four operations move to e…
  9. Release analysis
  10. Questions
  11. Sources & method

ContextThis beta tightens query output and historical-version workflows

LanceDB v0.42.0-beta.38 is a prerelease candidate with two practical centers: Node queries can build computed return fields directly, and historical reads and writes reject wrong branches or unsafe pinned handles earlier. The release also fixes a Python normalization edge case. That scope matters to application developers and anyone taking over the system.

This is not a query-engine rewrite. Node still turns expressions into SQL for the existing native path. Version protection sits at remote tag resolution and local merge writes. The Python fix addresses hybrid search when every full-text score is equal, rather than adding a new storage layer.

The changes form 4 groups: Node projections, remote tags, pinned writes, and hybrid normalization. The distribution below locates those groups and shows which workflow each group affects. The following sections expand each result, action, and boundary without implying equal performance or equal adoption risk.

Change distribution in this beta: Node projections, remote tag reads, pinned writes, and hybrid normalization each form one group. Area reflects inventory entries, not performance gains.
Where the 22 grouped changes landWhere the 22 grouped changes landNode query projections8Remote tag reads5Pinned-version writes4Hybrid normalization5
AIGenLab original

Node projections now mix expressions with SQL strings

  1. Expressions enter the projection: `select()` accepts `Expr` values for bare columns and computed fields such as unit price times quantity.
  2. Mixing works across query paths: a `Map` or plain object can combine SQL strings and expressions in query, vectorSearch, search, and take operations.
  3. Bytes keep source-name matching: bare expressions use the source name, renamed expressions still return bytes, and plain column lists are excluded.

Remote tags validate branch and version before pinning a snapshot

  1. Cross-branch tags are rejected: the full tag reference is resolved, and the error names both the tag branch and the handle branch.
  2. Same-branch versions are validated first: numeric checkout validation runs before the selector and freshness state are committed.
  3. Python tag reads share the guard: `open_table(version=tag)` uses it, while a tag on another branch requires that branch's handle first.

Pinned handles can no longer merge into the latest data

  1. Pinned writes fail early: `merge_insert` checks mutability and returns `InvalidInput` before processing a merge on a pinned version.
  2. Local language paths agree: the guard sits in the shared Rust entry used by Python and TypeScript local tables.
  3. Rejection preserves both states: pinned data and the latest branch version remain intact, and `checkout_latest()` restores merge writes.

Python hybrid search now gives lone or tied keyword matches full FTS weight

  1. Tied scores receive full weight: a zero FTS range passes `tie_value=1.0`, so those hits count as the top-ranked FTS result.
  2. Score and rank normalization cover LinearCombination and custom rerankers, while RRF, MRR, and vector distances stay unchanged.
  3. Our view, not independently tested: run one keyword match and tied scores, then confirm keyword documents stay above results without the keyword.

LanceDB computes projections; Qdrant and Chroma return stored fields

LanceDB puts expressions into Node projections, while Qdrant and Chroma select stored fields; the interfaces are not equivalent. The table compares the four actions row by row, and each cell states only a documented entry point or return rule.

Qdrant and Chroma select stored content; LanceDB accepts expressions in Node projections. The read and write rows compare each product's own entry point, not a shared capability. The tied-score row separates rank fusion, document filtering, and the FTS tie value.

Our view, not independently tested: choose this LanceDB beta when Node must compute fields and tag semantics matter. For stored fields, Qdrant's `with_payload` and Chroma's `include` are more direct. Qdrant documents RRF and DBSF fusion; Chroma 1.5.9 puts hybrid search in its Cloud Search API.

UpdateQdrant v1.20.2Chroma 1.5.9LanceDB v0.42.0-beta.38
Return-field controlRetrieval returns no stored information by default; `with_payload` scopes to a stored payload subset such as city, village, and town; `with_vectors` enables vectors.Query returns documents, metadatas, and distances by default; Get returns documents and metadatas; `include` narrows fields; `ids` always return.A `Map` or object mixes SQL names with `Expr`; `toSql()` reuses the existing SQL projection for computed fields such as unit price times quantity.
Read and recovery entryA collection snapshot holds configuration, all points, and payload but not aliases; REST creates, downloads, or restores it from a URL or upload.`.get` reads current records by ID, filters, and limit/offset without similarity ranking; `ids` always return. It is not a historical-version read.Remote tag checkout resolves the full reference and checks the branch; a same-branch tag validates the version before committing selector and freshness state.
Write preconditionsStartup recovery requires the target collection to be absent and exits with an error otherwise; it is a precondition of the recovery entry, not a version pin for an existing handle.`.add` inserts records, each with a unique string ID; supply `documents`, `embeddings`, or both; `metadatas` are optional.A pinned table runs `ensure_mutable()`, so `merge_insert` returns `InvalidInput` before merge processing; `checkout_latest()` restores writes.
Tied-score fusionRRF fuses by position in each result set; DBSF normalizes raw score distributions and emits 0.5 for identical scores or one point.The core Query API runs dense nearest-neighbor search; `where_document` filters content with `$contains`, `$not_contains`, `$regex`, or `$not_regex`.When identical FTS scores make the min-max range zero, the FTS leg passes `tie_value=1.0`; LinearCombination and custom rerankers get full weight.

Four operations move to explicit guards or full weight from beta.37 to beta.38

The four changes are: projections carry expressions, tags validate branch and version, pinned merge writes are rejected, and zero-range FTS scores get full weight. The left column uses v0.42.0-beta.37 and the right column this v0.42.0-beta.38; all four merges landed after beta.37, so old behavior comes from the pull requests.

Read each row as the same operation before and after: projections, tag validation, pinned merges, and zero-range scores. The shift is earlier failure or complete score weight, not a new deployment process.

Our view, not independently tested: upgrade a test environment first and verify these four rows before widening use. Keep production on its fixed candidate until the relevant paths pass regression, and treat a successful query as insufficient evidence for a negative guard before any production decision.

Featurev0.42.0-beta.37 · 2026-11-27v0.42.0-beta.38 · 2026-11-27
Node select projection`select()` returned SQL strings while `Expr` was accepted by `where()`; PR #4878 merged after beta.37, so computed fields needed existing SQL and could not join a `Map` or object projection.A `Map` or object mixes SQL and `Expr` via `toSql()` and native select; query, vectorSearch, search, and take work, with bare blobs matched by name.
Remote tag readCheckout dropped the tag branch, pinned on the handle branch, and skipped existence checks; PR #4853 merged after beta.37, so cross-branch reads could reach another snapshot or a missing version.Full tag references resolve, cross-branch errors name both branches, same-branch versions validate first, and Python tag reads share the guard.
Pinned merge writeLocal `merge_insert` skipped mutability checks, letting pinned handles commit to latest; PR #4851 merged after beta.37 without a pre-merge guard.`ensure_mutable()` runs first; pinned writes return `InvalidInput`; the shared Rust path covers Python and TypeScript and preserves both states.
Zero-range hybrid scoresMin-max turned equal FTS scores into zero, which LinearCombination treated as missing; PR #4858 merged after beta.37, dropping keyword weight for lone or tied matches.FTS uses `tie_value=1.0` for score and rank normalization; LinearCombination and custom rerankers gain full weight; RRF and MRR stay fixed.

Release analysisAffected teams should run targeted checks; other apps can wait

Our view, not independently tested: the largest impact falls on teams whose Node queries compute fields, whose remote tables use tags, or whose Python hybrid search relies on LinearCombination. Teams treating merge writes from pinned handles as normal must change that flow. Apps using only string projections, with no tags, pinned handles, or affected reranker, can wait for a stable release.

Qdrant v1.20.2 selects stored fields with `with_payload` and fuses with RRF or DBSF. Chroma 1.5.9 controls Query output with `include` and filters content through `where_document`. LanceDB adds Node expression projection and its own version guards; interface counts do not establish a winner.

Our view, not independently tested: after upgrading, run lone keyword and tied-score cases, then negative cases for cross-branch tags, missing versions, and merge writes from pinned handles. Record returned fields, error types, and versions before and after each attempted write.

Our view, not independently tested: pin this candidate in a test environment and widen use only after relevant regression passes. Do not copy Qdrant snapshot recovery or Chroma field inclusion into LanceDB procedures. Keep production writes on writable latest handles.

AIGenLab views

Not independently tested

Only teams using Node computed projections, remote tags, pinned handles, or affected rerankers need to assess this candidate immediately.

The four changes have scopes defined by the release and pull requests; this site groups readers by their usage paths.

Testing should prioritize lone keyword matches, tied scores, cross-branch tags, and pinned-handle writes rather than one successful query.

These cases involve zero-range scores or state validation, so a successful query cannot prove branch and version protection.

This candidate should be pinned in a test environment before broader production adoption.

The official release marks it as a prerelease, and the changes concentrate in query and version paths that can be tested directly.

Questions

Who should evaluate LanceDB v0.42.0-beta.38 now?
Our view, not independently tested: teams whose Node queries compute fields, whose remote tables use tags, or whose Python hybrid search relies on LinearCombination should assess it first; apps using only string projections and no tags or pinned handles can wait for a stable release.
What should I do when merge_insert is rejected on a pinned table?
This is expected: `InvalidInput` returns before merge processing, and both pinned data and the latest branch version are preserved. Use `checkout_latest()` to get a latest handle, then run the merge write.
How do I verify lone or tied keyword matches?
Our view, not independently tested: run one keyword match and a query with all scores equal, then confirm keyword documents are not pushed below results without the keyword. RRF, MRR, and vector distances are unchanged by this release.
What if a remote tag on another branch returns an error?
Get that branch's handle first with `checkout_branch` in Rust or `table.branches.checkout(...)` in Python, then read the tag; the error names both the tag branch and the handle branch.

Official sources and scope

Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.