You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2026/09/08 06:44:00 UTC

[jira] [Updated] (SPARK-36082) when the right side is small enough to use SingleColumn Null Aware Anti Join

     [ https://issues.apache.org/jira/browse/SPARK-36082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-36082:
----------------------------------
    Fix Version/s:     (was: 4.3.0)
                       (was: 5.0.0)

> when the right side is small enough to use SingleColumn Null Aware Anti Join
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-36082
>                 URL: https://issues.apache.org/jira/browse/SPARK-36082
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.2.0
>            Reporter: mcdull_zhang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.2.0
>
>
> NULL-aware ANTI join (https://issues.apache.org/jira/browse/SPARK-32290) will build right side into a HashMap.
> code in SparkStrategy:
>  
> {code:java}
> case j @ ExtractSingleColumnNullAwareAntiJoin(leftKeys, rightKeys) =>
>   Seq(joins.BroadcastHashJoinExec(leftKeys, rightKeys, LeftAnti, BuildRight,
>     None, planLater(j.left), planLater(j.right), isNullAwareAntiJoin = true)){code}
> we should add the conditions and use this optimization when the size of the right side is small enough.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org