[
https://issues.apache.org/jira/browse/SPARK-45846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032411#comment-18032411
]
subramaniam edited comment on SPARK-45846 at 10/23/25 12:05 PM:
----------------------------------------------------------------
Seems like a major issue when we are using not in condition. Will the spark
obey broadcasting threshold here?
was (Author: JIRAUSER308634):
Seems like a major issue when we are using in/not in conditions. Will the spark
obey broadcasting threshold here?
> spark.sql.optimizeNullAwareAntiJoin should respect
> spark.sql.autoBroadcastJoinThreshold
> ---------------------------------------------------------------------------------------
>
> Key: SPARK-45846
> URL: https://issues.apache.org/jira/browse/SPARK-45846
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Chao Sun
> Priority: Major
>
> Normally broadcast join can be disabled when users set
> {{spark.sql.autoBroadcastJoinThreshold}} to -1. However this doesn't apply to
> {{spark.sql.optimizeNullAwareAntiJoin}}:
> {code}
> case j @ ExtractSingleColumnNullAwareAntiJoin(leftKeys, rightKeys) =>
> Seq(joins.BroadcastHashJoinExec(leftKeys, rightKeys, LeftAnti,
> BuildRight,
> None, planLater(j.left), planLater(j.right), isNullAwareAntiJoin =
> true))
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]