Skip to content

chore(deps): upgrade to DataFusion 54#29

Merged
anoop-narang merged 1 commit into
mainfrom
feat/datafusion-54
Jul 3, 2026
Merged

chore(deps): upgrade to DataFusion 54#29
anoop-narang merged 1 commit into
mainfrom
feat/datafusion-54

Conversation

@anoop-narang

Copy link
Copy Markdown
Collaborator

Part of the hotdata-wide DataFusion 53 → 54 upgrade (runtimedb hotdata-dev/runtimedb#886).

Changes

  • Bump datafusion 5354.
  • DataFusion 54 makes Any a supertrait of TableProvider, ExecutionPlan, and ScalarUDFImpl, so as_any is no longer a trait method (downcasting upcasts to &dyn Any directly). Removed the 9 explicit as_any impls and the now-unused std::any::Any imports.
  • arrow-* stays at 58 — DataFusion 54 pins arrow 58.3.

Verification

  • cargo fmt --check clean
  • cargo clippy --all-features --all-targets -- -D warnings clean
  • cargo test --all-features: 115 passed, 3 pre-existing ignored

DataFusion 54 makes `Any` a supertrait of `TableProvider`,
`ExecutionPlan`, and `ScalarUDFImpl`, so `as_any` is no longer a trait
method — downcasting upcasts to `&dyn Any` directly. Remove the explicit
`as_any` implementations from all providers, the exec node, and the
distance UDF, and drop the now-unused `std::any::Any` imports.

arrow-* stays at 58 (DataFusion 54 pins arrow 58.3).

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean DataFusion 53→54 bump. Removed as_any impls are correctly retired (DF54 makes Any a supertrait of TableProvider/ExecutionPlan/ScalarUDFImpl); all remaining as_any() calls are on Arrow arrays and UserDefinedLogicalNode, which are unaffected.

@anoop-narang anoop-narang merged commit b01d383 into main Jul 3, 2026
6 checks passed
@anoop-narang anoop-narang deleted the feat/datafusion-54 branch July 3, 2026 07:06
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