chore: switch Lance dependencies to TheDeltaLab fork#44
Merged
sinianluoye merged 2 commits intomainfrom Apr 11, 2026
Merged
Conversation
Switch all 14 Lance crate dependencies from lance-format/lance (v5.0.0-beta.5)
to theDeltaLab/lance (branch main) to track our fork which will contain the
upstream bitmap fix for stale vector indices after compaction.
Add a defensive fallback in VectorQuery: when a query fails due to stale
fragment references in the index ("specified fragment id X does not exist"),
automatically retry with use_index=false (flat search) and log a warning.
This prevents query failures while the root cause (fragment_bitmap
inconsistency in Lance's optimize_indices merge path) is being fixed upstream.
See: TheDeltaLab/lance#3
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove the stale index query fallback (is_stale_index_error + flat search retry) — the Lance fork itself will contain the proper fix. Also fix the GitHub org casing from theDeltaLab to TheDeltaLab. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6eea798 to
e80f174
Compare
yorange2
approved these changes
Apr 11, 2026
delta-shengqi
approved these changes
Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lance-format/lance(v5.0.0-beta.5) toTheDeltaLab/lance(branch main) to track our forkContext
Lance's vector index can contain stale ROW_ID references after compaction, causing query failures. The root cause is tracked in TheDeltaLab/lance#3 and will be fixed in the fork.
Test plan
cargo fmt --all— passescargo clippy --quiet --tests --examples— passescargo test --quiet --tests— 351 passed, 1 ignored🤖 Generated with Claude Code