Skip to content

Commit

Permalink
Kyligence#217 fix AE remove root ShuffleExchangeExec which generated …
Browse files Browse the repository at this point in the history
…by RepartitionByExpression
  • Loading branch information
7mming7 committed Feb 26, 2021
1 parent 0610856 commit a776ab0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ class PlannerSuite extends SharedSQLContext {
partitioning,
DummySparkPlan(outputPartitioning = partitioning),
None,
None)
Some(false))
val outputPlan = EnsureRequirements(spark.sessionState.conf).apply(inputPlan)
assertDistributionRequirementsAreSatisfied(outputPlan)
if (outputPlan.collect { case e: ShuffleExchangeExec => true }.size == 1) {
Expand Down

0 comments on commit a776ab0

Please sign in to comment.