Skip to content

Commit ff52751

Browse files
committed
Add comment for SMJ/SHJ changed to BHJ
1 parent fecadfd commit ff52751

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/EliminateJoinToEmptyRelation.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ import org.apache.spark.sql.execution.joins.{EmptyHashedRelation, EmptyHashedRel
3030
*
3131
* 2. Join is inner or left semi join, and broadcasted [[HashedRelation]]
3232
* is [[EmptyHashedRelation]].
33+
* This applies to all Joins (sort merge join, shuffled hash join, and broadcast hash join),
34+
* because sort merge join and shuffled hash join will be changed to broadcast hash join with AQE
35+
* at the first place.
3336
*/
3437
object EliminateJoinToEmptyRelation extends Rule[LogicalPlan] {
3538

0 commit comments

Comments
 (0)