Skip to content

build(deps): migrate to Arrow 60 and DataFusion 56 - #8

Open
dentiny wants to merge 10 commits into
mainfrom
chore/upgrade-arrow-datafusion
Open

dentiny wants to merge 10 commits into
mainfrom
chore/upgrade-arrow-datafusion

Conversation

@dentiny

@dentiny dentiny commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Upgrade Arrow/Parquet to the normal 60.0.0 Cargo requirement (without =) across the workspace, Python, and JNI. Lockfiles resolve 60.1.0 because DataFusion 56 RC and GeoArrow 0.10 require it.

Include the API adaptations required by the upgraded dependencies and update existing fixtures for changed APIs/defaults. No new tests, CI changes, execution-strategy changes, memory tuning, or new features are included.

DataFusion 56 is not yet published. Pin DataFusion RC cce6374e6256b3b8892ec60674578cf32bc3a32c, GeoDataFusion’s dependency-only compatibility revision 9e3ad767c74a929ea313d3841d5ed7c8a37ab11c, and DataFusion Python’s DF56 migration revision b1b413ac9927b094cfa304f92cb5d1235ee1ba66. Registry publication remains blocked until compatible releases replace these sources.

Validation: formatting and pre-commit checks pass. The repository’s unchanged CI evaluates the pushed revision; this PR does not bypass failures in existing tests or publication checks.

Breaking interface changes

  • Rust dependency types: public APIs now use Arrow/Parquet 60, DataFusion 56, and GeoArrow 0.10 types. Downstream Rust integrations must use compatible major versions; Arrow 59 / DataFusion 55 types cannot be passed directly to these APIs.
  • lance_arrow::RecordBatchExt::metadata: the return type changes from &HashMap<String, String> to &arrow_schema::Metadata. Callers needing an owned map can use HashMap::from(batch.metadata()). RecordBatchExt::with_metadata continues to accept HashMap<String, String>; Lance's own schema metadata maps retain their existing types.
  • Arrow C stream reader: StreamingWriteSource is now implemented for arrow::ffi_stream::RecordBatchStreamReader, replacing ArrowArrayStreamReader. Rust callers must update their imports and reader types.
  • DataFusion extension interfaces: TableProvider::scan projections change from Option<&Vec<usize>> to Option<&[usize]>; callers holding Option<Vec<usize>> can pass .as_deref(). Custom provider implementations must match the new signature. Distribution enforcement is also adapted to DataFusion 56's optimizer/statistics context interfaces.
  • Python DataFusion integration: the extension uses DataFusion FFI major 56. DataFusion Python 55 is incompatible with this table-provider integration; the test dependency is pinned to the DF56 migration source until a compatible release is published.
  • Build requirement: the Python and JNI crates' minimum Rust version increases from 1.94 to 1.95. The workspace minimum remains 1.95.

No Python or Java method signatures are changed by this PR. These are dependency-driven Rust API/build changes; no new Lance file-format version or data migration is introduced.

@dentiny
dentiny force-pushed the chore/upgrade-arrow-datafusion branch from ad82fc1 to 17bbf6a Compare November 17, 2026 01:01
@dentiny dentiny changed the title build(deps): update Arrow to 59.3.2 and DataFusion to 55.2.0 build(deps): migrate to Arrow 60 and DataFusion 56 Nov 17, 2026
@github-actions github-actions Bot added the A-ci label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant