You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "mcdull_zhang (Jira)" <ji...@apache.org> on 2021/07/11 06:58:00 UTC
[jira] [Created] (SPARK-36082) when the right side is small enough
to use SingleColumn Null Aware Anti Join
mcdull_zhang created SPARK-36082:
------------------------------------
Summary: 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: 3.2.0, 3.1.3
Reporter: mcdull_zhang
Fix For: 3.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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org