feat: update Arrow to 58 and DataFusion to 53#6638
Merged
jackye1995 merged 11 commits intoApr 29, 2026
Conversation
Upgrade arrow 57 -> 58, datafusion 52.1 -> 53.0, parquet 57 -> 58, geoarrow 0.7 -> 0.8, geodatafusion 0.3 -> 0.4, and datafusion-python >=52,<53 -> >=53,<54. Adapt to DataFusion 53 breaking changes: - PlanProperties now wrapped in Arc (ExecutionPlan::properties returns &Arc<PlanProperties>) - ExecutionPlan::statistics() removed from trait - HashJoinExec::try_new gains null_aware: bool parameter - SimplifyContext::new replaced with SimplifyContext::default() builder - PGBitwiseNot renamed to BitwiseNot (sqlparser update) - ScalarValue::RunEndEncoded new variant handled - MemoryReservation methods no longer require &mut self Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…3 upgrade The DataFusion 53 upgrade guide specifies that statistics() should be replaced with partition_statistics(), not just removed. Three ExecutionPlan implementations had meaningful row-count statistics that were lost in the initial upgrade: - LanceScanExec: computes row counts from fragment metadata - ANNIvfPartitionExec: reports minimum_nprobes as exact row count - ScalarIndexExec: reports Precision::Exact(2) for index expression results Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update Python bindings for pyo3 0.26→0.28 API changes: - FromPyObject now takes two lifetime params and uses `extract` instead of `extract_bound` - Replace deprecated `downcast()` with `cast()` across all files - Add `from_py_object` / `skip_from_py_object` to all Clone pyclass types - Replace deprecated `PyCapsule::reference` with `pointer_checked` Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
DataFusion 53 changed the EnsureCooperative optimizer to skip wrapping leaf nodes when a cooperative ancestor (CoalescePartitionsExec) already exists, so CooperativeExec no longer appears around LanceRead in these plans. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
jackye1995
approved these changes
Apr 29, 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.
This PR is a dependency update only for Arrow and DataFusion. It includes the minimal changes necessary for the upgrade and is not designed to have any additional impact.
Closes #6137