You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2021/09/22 01:58:00 UTC

[jira] [Created] (SPARK-36822) BroadcastNestedLoopJoinExec should use all condition instead of non-equi condition

XiDuo You created SPARK-36822:
---------------------------------

             Summary: BroadcastNestedLoopJoinExec should use all condition instead of non-equi condition
                 Key: SPARK-36822
                 URL: https://issues.apache.org/jira/browse/SPARK-36822
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: XiDuo You


At JoinSelection, with ExtractEquiJoinKeys, we use `nonEquiCond` as the join condition. It's wrong since there should exist some equi condition.

{code:java}
Seq(joins.BroadcastNestedLoopJoinExec(
  planLater(left), planLater(right), buildSide, joinType, nonEquiCond))
{code}

But it's should not be a bug, since we always use the smj as the default join strategy for ExtractEquiJoinKeys.



--
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