You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:04:27 UTC

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

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

Hyukjin Kwon updated SPARK-19419:
---------------------------------
    Labels: bulk-closed  (was: )

> 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
>            Priority: Major
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

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