leanken commented on a change in pull request #29455: URL: https://github.com/apache/spark/pull/29455#discussion_r472581213
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala ########## @@ -235,8 +235,13 @@ abstract class SparkStrategies extends QueryPlanner[SparkPlan] { .getOrElse(createJoinWithoutHint()) case j @ ExtractSingleColumnNullAwareAntiJoin(leftKeys, rightKeys) => - Seq(joins.BroadcastHashJoinExec(leftKeys, rightKeys, LeftAnti, BuildRight, - None, planLater(j.left), planLater(j.right), isNullAwareAntiJoin = true)) + if (!canBroadcastBySize(j.right, conf) && conf.adaptiveExecutionEnabled) { Review comment: the HashedRelation built in ShuffledHashedJoinExec in partitioned, it should be less data, so the driver OOM issue should be a major concern. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org