You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/06/02 01:25:00 UTC

[jira] [Commented] (SPARK-35604) Fix condition check for FULL OUTER sort merge join

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

Apache Spark commented on SPARK-35604:
--------------------------------------

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

> Fix condition check for FULL OUTER sort merge join
> --------------------------------------------------
>
>                 Key: SPARK-35604
>                 URL: https://issues.apache.org/jira/browse/SPARK-35604
>             Project: Spark
>          Issue Type: Documentation
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Cheng Su
>            Priority: Minor
>
> The condition check for FULL OUTER sort merge join ([https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/joins/SortMergeJoinExec.scala#L1368] ) has unnecessary trip when `leftIndex == leftMatches.size` or `rightIndex == rightMatches.size`. Though this does not affect correctness (`scanNextInBuffered()` returns false anyway).



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