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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15848057#comment-15848057 ] 

Apache Spark commented on SPARK-19419:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/16762

> 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