Skip to content

chore: upgrade datafusion dependencies from 53 to 54 - #99

Merged
lewiszlw merged 2 commits into
masterfrom
upgrade/datafusion-54
Jul 24, 2026
Merged

chore: upgrade datafusion dependencies from 53 to 54#99
lewiszlw merged 2 commits into
masterfrom
upgrade/datafusion-54

Conversation

@lewiszlw

Copy link
Copy Markdown
Member

Summary

Upgrade all DataFusion workspace dependencies from 53 to 54.1.0.

Changes

  • Cargo.toml: Bump all datafusion workspace crates from 53 to 54
  • Cargo.lock: Updated dependency tree for datafusion 54.1.0 (including sqlparser 0.61 → 0.62)
  • scan.rs: Remove as_any() (removed from ExecutionPlan trait), wrap partition_statistics return in Arc to match new trait signature, remove unused std::any::Any import
  • insert.rs: Remove as_any() (removed from ExecutionPlan trait)
  • table.rs: Remove as_any() (removed from TableProvider trait), remove unused std::any::Any import
  • codec.rs: Replace node.as_any().downcast_ref() with (&*node as &dyn Any).downcast_ref() since ExecutionPlan: Any but no longer exposes as_any()

Verification

  • cargo build --workspace passes
  • cargo clippy -- -D warnings passes
  • cargo fmt --all passes
  • ⏭️ Integration tests not run locally (requires external databases)

lewiszlw added 2 commits July 24, 2026 17:57
- Bump all datafusion workspace crates from 53 to 54.1.0
- Remove  implementations that were removed from ExecutionPlan and TableProvider traits
- Update downcast calls in codec.rs to use
- Wrap partition_statistics return value in Arc to match new trait signature

Build, clippy, and fmt all pass.
DataFusion 54 provides `downcast_ref::<T>()` and `is::<T>()` as inherent
methods on `dyn ExecutionPlan`, available on `Arc<dyn ExecutionPlan>` via
auto-deref. This is cleaner than `(&*node as &dyn Any).downcast_ref()` and
correctly handles `downcast_delegate()` for wrapper plans.
@lewiszlw
lewiszlw merged commit 2332ed8 into master Jul 24, 2026
7 of 9 checks passed
@lewiszlw
lewiszlw deleted the upgrade/datafusion-54 branch July 24, 2026 11:44
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