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

Wenchen Fan resolved SPARK-32573.
---------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 29389
[https://github.com/apache/spark/pull/29389]

> Anti Join Improvement with EmptyHashedRelation and 
> EmptyHashedRelationWithAllNullKeys
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-32573
>                 URL: https://issues.apache.org/jira/browse/SPARK-32573
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Leanken.Lin
>            Assignee: Leanken.Lin
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> In SPARK-32290, we introduced several new types of HashedRelation
>  * EmptyHashedRelation
>  * EmptyHashedRelationWithAllNullKeys
> They were all limited to used only in NAAJ scenario. These new HashedRelation 
> could be applied to other scenario for performance improvements.
>  * EmptyHashedRelation could also be used in Normal AntiJoin for fast stop
>  * While AQE is on and buildSide is EmptyHashedRelationWithAllNullKeys, can 
> convert NAAJ to a Empty LocalRelation to skip meaningless data iteration 
> since in Single-Key NAAJ, if null key exists in BuildSide, will drop all 
> records in streamedSide.
> This Patch including two changes.
>  * using EmptyHashedRelation to do fast stop for common anti join as well
>  * In AQE, eliminate BroadcastHashJoin(NAAJ) if buildSide is a 
> EmptyHashedRelationWithAllNullKeys



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to