Skip to content

chore(deps): bump lancedb 0.26.2 -> 0.37.1, arrow 57 -> 58 - #1618

Merged
karajanchang merged 8 commits into
mainfrom
feat/lancedb-0.39-upgrade
Oct 2, 2026
Merged

karajanchang merged 8 commits into
mainfrom
feat/lancedb-0.39-upgrade

Conversation

@karajanchang

Copy link
Copy Markdown
Contributor

Summary

Routine LanceDB maintenance: lancedb 0.26.2 → 0.37.1 (lance 2.0.0 → 10.0.0), arrow-array / arrow-schema 57 → 58 (datafusion 54.1.0). No new LanceDB features adopted.

Why 0.37.1 and not 0.39.0

Pinned to =0.37.1 because lancedb 0.38.0 / 0.39.0 do not compile without the remote feature: src/job.rs:102 uses Error::Http, which src/error.rs:113 gates behind #[cfg(feature = "remote")] (lancedb/lancedb#4142; fixes #4233 / #4103 not yet merged). Enabling remote was rejected — it pulls tonic / arrow-flight / prost, a second reqwest 0.11 / hyper 0.14 / h2 0.3 stack and a second object_store (0.13 + 0.14) only to compile a gRPC client MUR does not use. Follow-up PR to 0.39 once the upstream fix is released.

Code changes

  • create_table now takes Box<dyn RecordBatchReader + Send>; codebase/mod.rs follows the shape already used in conversations/index.rs. That was the only compile break.
  • lance_export.rs: doc fixed — --exact export_table_from_env matched 0 tests and exited 0; the real names are tests::export_table_from_env / tests::compare_dumps_from_env.

Verification

  • cargo clippy --all --all-targets --no-deps --locked -- -D warnings: exit 0
  • cargo fmt --all -- --check: exit 0
  • mur-core unit tests touching lance: 443 passed, 0 failed
  • cargo tree -d: no duplicate arrow / lance / datafusion / tantivy / parquet / object_store (tantivy stays 0.24.2, so the Cargo.toml comment still holds)
  • On-disk compatibility: frozen fixtures (SHA256-checked) dumped twice per build with lance_export.rs, compared at tolerance 0. Same-build run1 vs run2 and 0.26.2 vs 0.37.1 are all identical.
Fixture dump Rows compared
index_patterns 4
lance_sources 5
indexes_codebase_mur.run-website_chunks 5
index_sources 0 — schema only
fixture_index_sources (populated) 3

The empty index_sources fixture only proves the schema; the separately frozen populated fixture covers its data.

Environment note

Sandboxed agents that cannot write ~/Library/Caches fail extracting ort-sys; set ORT_CACHE_DIR=$PWD/target/ort-cache (noted in lance_export.rs). Not part of the upgrade.

Generated with MUR

…verification

Ignored integration test driven by LANCE_EXPORT_* / LANCE_COMPARE_* env vars.
Dumps schema (canonical type strings) and a key-sorted row sample as JSON
Lines with f32 values as IEEE-754 bits; compare is bit-exact by default with
an optional absolute tolerance.
Exact pin =0.37.1: lancedb 0.38.0/0.39.0 fail to compile without the
`remote` feature (lancedb/lancedb#4142). create_table now takes a
Box<dyn RecordBatchReader + Send>; codebase/mod.rs follows the shape
already used in conversations/index.rs.
… upgrade

Both workspace-excluded Tauri apps failed `cargo metadata --locked` after
the workspace lancedb/arrow bump. Re-resolved offline; lancedb 0.37.1,
lance 10.0.0 and arrow 58.4.0 now match the root Cargo.lock.
@karajanchang
karajanchang merged commit 901aa60 into main Oct 2, 2026
14 checks passed
@karajanchang
karajanchang deleted the feat/lancedb-0.39-upgrade branch October 2, 2026 04:40
karajanchang added a commit that referenced this pull request Oct 6, 2026
* docs(spec): LanceDB 0.26 -> 0.39 upgrade design

* test(lance): add version-neutral table dump/compare tool for upgrade verification

Ignored integration test driven by LANCE_EXPORT_* / LANCE_COMPARE_* env vars.
Dumps schema (canonical type strings) and a key-sorted row sample as JSON
Lines with f32 values as IEEE-754 bits; compare is bit-exact by default with
an optional absolute tolerance.

* docs(spec): fix codebase table path and record populated sources fixture for lancedb upgrade

* docs(spec): park LanceDB 0.39 feature-adoption notes (option B)

* chore(deps): bump lancedb 0.26.2 -> 0.37.1, arrow 57 -> 58

Exact pin =0.37.1: lancedb 0.38.0/0.39.0 fail to compile without the
`remote` feature (lancedb/lancedb#4142). create_table now takes a
Box<dyn RecordBatchReader + Send>; codebase/mod.rs follows the shape
already used in conversations/index.rs.

* docs(lance): fix lance_export --exact test names, note ORT_CACHE_DIR; record 0.37.1 landing in spec

* chore(gui): sync agent-gui and hub-gui Cargo.lock with lancedb 0.37.1 upgrade

Both workspace-excluded Tauri apps failed `cargo metadata --locked` after
the workspace lancedb/arrow bump. Re-resolved offline; lancedb 0.37.1,
lance 10.0.0 and arrow 58.4.0 now match the root Cargo.lock.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant