You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "David Tolnay (JIRA)" <ji...@apache.org> on 2015/05/13 20:58:01 UTC

[jira] [Created] (SPARK-7611) Support HashJoin if the join condition uses eqNullSafe/<=>

David Tolnay created SPARK-7611:
-----------------------------------

             Summary: Support HashJoin if the join condition uses eqNullSafe/<=>
                 Key: SPARK-7611
                 URL: https://issues.apache.org/jira/browse/SPARK-7611
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 1.3.1
            Reporter: David Tolnay


Currently ExtractEquiJoinKeys only looks for EqualTo, not EqualNullSafe. So if your join condition uses eqNullSafe/<=> instead of equalTo/===, you end up with the CartesianProduct strategy instead of HashJoin.

This requires many changes under org.apache.spark.sql.execution.joins, where code assumes rows can only join "if (!key.anyNull)".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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