Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-39447][SQL] Avoid AssertionError in AdaptiveSparkPlanExec.doEx…
…ecuteBroadcast ### What changes were proposed in this pull request? Change `currentPhysicalPlan` to `inputPlan ` when we restore the broadcast exchange for DPP. ### Why are the changes needed? The currentPhysicalPlan can be wrapped with broadcast query stage so it is not safe to match it. For example: The broadcast exchange which is added by DPP is running before than the normal broadcast exchange(e.g. introduced by join). ### Does this PR introduce _any_ user-facing change? yes bug fix ### How was this patch tested? add test Closes apache#36974 from ulysses-you/inputplan. Authored-by: ulysses-you <ulyssesyou18@gmail.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com> (cherry picked from commit c320a5d) Signed-off-by: Wenchen Fan <wenchen@databricks.com>
- Loading branch information