c21 commented on a change in pull request #31792:
URL: https://github.com/apache/spark/pull/31792#discussion_r590864387
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/joins/OuterJoinSuite.scala
##########
@@ -104,18 +104,16 @@ class OuterJoinSuite extends SparkPlanTest with
SharedSparkSession {
ExtractEquiJoinKeys.unapply(join)
}
- if (joinType != FullOuter) {
- test(s"$testName using ShuffledHashJoin") {
- extractJoinParts().foreach { case (_, leftKeys, rightKeys,
boundCondition, _, _, _) =>
- withSQLConf(SQLConf.SHUFFLE_PARTITIONS.key -> "1") {
- val buildSide = if (joinType == LeftOuter) BuildRight else
BuildLeft
- checkAnswer2(leftRows, rightRows, (left: SparkPlan, right:
SparkPlan) =>
- EnsureRequirements.apply(
- ShuffledHashJoinExec(
- leftKeys, rightKeys, joinType, buildSide, boundCondition,
left, right)),
- expectedAnswer.map(Row.fromTuple),
- sortAnswers = true)
- }
+ test(s"$testName using ShuffledHashJoin") {
Review comment:
The change here is to just remove the top level if condition `if
(joinType != FullOuter)`, and there's no other code change here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]