[ 
https://issues.apache.org/jira/browse/SPARK-45846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18049059#comment-18049059
 ] 

subramaniam commented on SPARK-45846:
-------------------------------------

What will happen in this case? Will it use BNLJ?

> 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
>              Labels: pull-request-available
>
> 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]

Reply via email to