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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to