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: [email protected]
For additional commands, e-mail: [email protected]