deps: Upgrade to DataFusion 54.0.0#4062
Open
andygrove wants to merge 45 commits into
Open
Conversation
# Conflicts: # native/Cargo.lock
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Conflicts: # native/Cargo.lock # native/Cargo.toml
# Conflicts: # native/Cargo.lock
# Conflicts: # native/Cargo.lock # native/Cargo.toml # native/core/Cargo.toml
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.
Which issue does this PR close?
Closes #3978.
Rationale for this change
DataFusion 54.0.0 is released to crates.io, so this upgrades Comet
mainfrom DataFusion 53.1.0 to 54.0.0. It bumps the deps and applies the DF 54 API and behavior adaptations that we developed and validated on the long-runningdatafusion-54branch.What changes are included in this PR?
53.1.0to54.0.0innative/Cargo.tomlandnative/core/Cargo.toml(datafusion,datafusion-datasource,datafusion-physical-expr-adapter,datafusion-spark,datafusion-functions-nested);Cargo.lockregenerated.as_any()overrides and strip.as_any()from call sites, since the method was dropped fromPhysicalExpr,ScalarUDFImpl,ExecutionPlan, etc. (now reachable via theAnysupertrait).schema_adapter.rs:CastColumnExprwas removed in favor ofCastExpr, which no longer exposesinput_field(). Derive the input field from the childColumnplus the physical file schema, falling back to a synthesized field from the target name and child data type.MemoryPoolimpls (fair_pool,logging_pool,unified_pool): addDisplayandname()to satisfy the new supertrait requirements.pow: markPowunsupported and fall back to Spark, due to a DataFusion power correctness regression (datafusion#22598).WeekDay: DataFusionisodowis1..=7(Monday=1) while SparkWeekDayis0..=6(Monday=0), so subtract 1 fromdatepart(isodow, ...)(datafusion#22599).spark.comet.exec.sortMergeJoinWithJoinFilter.enabled) and mark the config deprecated.CometJoinSuite(full outer SMJ with NULL in join filter).How are these changes tested?
Existing tests, plus the new SPARK-43113 reproducer.