Skip to content

Commit

Permalink
revert one more test change
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed Jan 13, 2022
1 parent 6a39862 commit 3238aab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -706,14 +706,14 @@ class PlannerSuite extends SharedSparkSession with AdaptiveSparkPlanHelper {
outputPlan match {
case SortMergeJoinExec(leftKeys, rightKeys, _, _,
SortExec(_, _,
DummySparkPlan(_, _, HashPartitioning(leftPartitioningExpressions, _), _, _), _),
ShuffleExchangeExec(HashPartitioning(leftPartitioningExpressions, _), _, _), _),
SortExec(_, _,
ShuffleExchangeExec(HashPartitioning(rightPartitioningExpressions, _),
_, _), _), _) =>
assert(leftKeys === smjExec.leftKeys)
assert(rightKeys === smjExec.rightKeys)
assert(leftPartitioningExpressions == Seq(exprA, exprB, exprA))
assert(rightPartitioningExpressions == Seq(exprA, exprC, exprA))
assert(leftKeys === leftPartitioningExpressions)
assert(rightKeys === rightPartitioningExpressions)
case _ => fail(outputPlan.toString)
}
}
Expand Down

0 comments on commit 3238aab

Please sign in to comment.