Skip to content

Commit dac5b30

Browse files
Merge remote-tracking branch 'origin/shuffle-spec-direct-partition' into shuffle-spec-direct-partition
2 parents 3f1cf4f + 927745e commit dac5b30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/EnsureRequirements.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ case class EnsureRequirements(
166166
// 1. There are exactly two children (e.g., join). Note that Spark doesn't support
167167
// multi-way join at the moment, so this check should be sufficient.
168168
// 2. All children are of the compatible key group partitioning or
169-
// compatible shuffle partition id pass through partitioning
169+
// compatible shuffle partition id pass through partitioning
170170
// If both are true, skip shuffle.
171171
val areChildrenCompatible = parent.isDefined &&
172172
children.length == 2 && childrenIndexes.length == 2 && {

sql/core/src/test/scala/org/apache/spark/sql/execution/exchange/EnsureRequirementsSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ class EnsureRequirementsSuite extends SharedSparkSession {
12801280
SortExec(_, _, ShuffleExchangeExec(_: HashPartitioning, _, _, _), _),
12811281
SortExec(_, _, _: DummySparkPlan, _), _) =>
12821282
// Left side shuffled, right side kept as-is
1283-
case other => fail(s"Expected shuffle on at least one side, but got: $other")
1283+
case other => fail(s"Expected shuffle on the left side, but got: $other")
12841284
}
12851285
}
12861286
}

0 commit comments

Comments
 (0)