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/09/11 05:33:00 UTC

[jira] [Created] (SPARK-32854) Avoid per-row join type check in stream-stream join

Cheng Su created SPARK-32854:
--------------------------------

             Summary: Avoid per-row join type check in stream-stream join
                 Key: SPARK-32854
                 URL: https://issues.apache.org/jira/browse/SPARK-32854
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 3.1.0
            Reporter: Cheng Su


In stream-stream join (`StreamingSymmetricHashJoinExec`), we can optimize to avoid per row check for join type ([https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamingSymmetricHashJoinExec.scala#L486-L492] ), to create the method before the loop of reading row. Similar optimization (i.e. create auxiliary method/variable per different join type beforehand) has been done in batch join world (`SortMergeJoinExec`, `ShuffledHashJoinExec`). This is a minor change.



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