feat: bump lance 2→4 + datafusion 51→52 + deltalake 0.30→0.31#273
Merged
Conversation
Dep upgrade across all workspace crates. Arrow stays at 57. Version matrix: lance 2.0.1 → 4.0.1 (lancedb 0.27 compatible) lance-linalg 2.0.1 → 4.0.1 lance-arrow 2.0.1 → 4.0.1 lance-index 2.0.1 → 4.0.1 lance-namespace 2.0.1 → 4.0.1 datafusion 51 → 52 datafusion-* 51 → 52 (common, expr, sql, functions-aggregate) deltalake 0.30 → 0.31 (0.32 needs arrow 58, incompatible) arrow 57 → 57 (unchanged) object_store 0.12 → 0.12 (unchanged) API breaks fixed: 1. lance-namespace: NamespaceError::invalid_input() now takes 1 arg (message only), not 2 (message + location). Removed `location!()` calls and unused `snafu::location` import in directory.rs. 2. deltalake: DeltaTable no longer implements TableProvider directly. Fixed table_readers.rs to go through DeltaTableProvider::try_new( snapshot, log_store, scan_config) — gets EagerSnapshot via delta_table.snapshot()?.snapshot().clone(). Workspace compiles clean (4 pre-existing warnings, 0 errors). https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
AdaWorldAPI
pushed a commit
that referenced
this pull request
Apr 27, 2026
Datafusion 52's switch from xz2 to liblzma eliminated the dual links="lzma" collision that blocked auth-rls + lance simultaneously. smb-bridge::rls module now ships RlsRewriter wiring; the previously-impossible feature combo `auth-rls + lance` builds clean. 140 tests pass with auth-rls mongo lance wal all enabled. PR follows on smb-office-rs.
4 tasks
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
Bump lance 2→4, datafusion 51→52, deltalake 0.30→0.31 across all workspace crates. Arrow stays at 57.
Version matrix
invalid_input()now 1 argAPI breaks fixed
lance-namespace 4:
NamespaceError::invalid_input()takes 1 arg (message) not 2 (message + location). Removedlocation!()calls indirectory.rs.deltalake 0.31:
DeltaTableno longer implementsTableProvider. Fixedtable_readers.rsto useDeltaTableProvider::try_new(snapshot, log_store, scan_config).Files changed
crates/lance-graph/Cargo.toml— lance/datafusion/deltalake version bumpscrates/lance-graph-callcenter/Cargo.toml— lance 4, datafusion 52crates/lance-graph-catalog/Cargo.toml— datafusion 52, lance-namespace 4crates/lance-graph-benches/Cargo.toml— lance 4crates/holograph/Cargo.toml— lance 4, datafusion 52crates/lance-graph-catalog/src/namespace/directory.rs— remove location!()crates/lance-graph/src/table_readers.rs— DeltaTableProvider migrationCargo.lock— regeneratedMay resolve
The xz2/liblzma
links = "lzma"collision that blocks smb-office-rsauth-rls. DataFusion 52 may have cleaned up compression deps. Theauth-rls-liteworkaround should be re-tested after merge.Test plan
cargo checkworkspace clean (0 errors, 4 pre-existing warnings)cargo test -p lance-graph --lib(needs CI runner — 16+ GB disk for datafusion compile)auth-rls(with full datafusion) no longer collides with lancehttps://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
Generated by Claude Code