[ 
https://issues.apache.org/jira/browse/SPARK-32854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194003#comment-17194003
 ] 

Apache Spark commented on SPARK-32854:
--------------------------------------

User 'c21' has created a pull request for this issue:
https://github.com/apache/spark/pull/29724

> 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
>            Priority: Trivial
>
> 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]

Reply via email to