You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2017/02/01 06:12:51 UTC

[jira] [Created] (SPARK-19419) Unable to detect all the cases of cartesian products when spark.sql.crossJoin.enabled is false

Xiao Li created SPARK-19419:
-------------------------------

             Summary: Unable to detect all the cases of cartesian products when spark.sql.crossJoin.enabled is false
                 Key: SPARK-19419
                 URL: https://issues.apache.org/jira/browse/SPARK-19419
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.1.0
            Reporter: Xiao Li
            Assignee: Xiao Li


The existing detection is unable to cover all the cartesian product cases. For example, 
  - Case 1) having non-equal predicates in join conditiions of an inner join.
  - Case 2) equi-join's key columns are not sortable and both sides are not small enough for broadcasting.

This PR is to move the cross-join detection back to `BroadcastNestedLoopJoinExec` and `CartesianProductExec`. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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