You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Su (Jira)" <ji...@apache.org> on 2020/07/22 21:23:00 UTC

[jira] [Created] (SPARK-32399) Support full outer join in shuffled hash join and broadcast hash join

Cheng Su created SPARK-32399:
--------------------------------

             Summary: Support full outer join in shuffled hash join and broadcast hash join
                 Key: SPARK-32399
                 URL: https://issues.apache.org/jira/browse/SPARK-32399
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Cheng Su


Currently for SQL full outer join, spark always does a sort merge join no matter of how large the join children size are. Inspired by recent discussion in [https://github.com/apache/spark/pull/29130#discussion_r456502678] and [https://github.com/apache/spark/pull/29181], I think we can support full outer join in shuffled hash join and broadcast hash join in a way that - when looking up stream side keys from build side {{HashedRelation}}. Mark this info inside build side {{HashedRelation}}, and after reading all rows from stream side, output all non-matching rows from build side based on modified {{HashedRelation}}. But more design details need to be figured out for this JIRA.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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