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 2021/06/09 05:34:00 UTC

[jira] [Created] (SPARK-35690) Stream-stream join keys should be reordered properly

Cheng Su created SPARK-35690:
--------------------------------

             Summary: Stream-stream join keys should be reordered properly
                 Key: SPARK-35690
                 URL: https://issues.apache.org/jira/browse/SPARK-35690
             Project: Spark
          Issue Type: Documentation
          Components: Structured Streaming
    Affects Versions: 3.2.0
            Reporter: Cheng Su


For query with multiple stream-stream joins, unnecessary shuffle can be happened as we don't reorder join keys for stream-stream join. We already reorder join keys for shuffled hash join and sort merge join, so we can also have it for stream-stream join - [https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/EnsureRequirements.scala#L232] .



--
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