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 2022/04/13 12:42:00 UTC

[jira] [Commented] (SPARK-38887) Support switch inner join side for sort merge join

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

Apache Spark commented on SPARK-38887:
--------------------------------------

User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/36180

> Support switch inner join side for sort merge join
> --------------------------------------------------
>
>                 Key: SPARK-38887
>                 URL: https://issues.apache.org/jira/browse/SPARK-38887
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: XiDuo You
>            Priority: Major
>
> For an inner join type SortMergeJoin, it always uses the left side as streamed side and right side as buffered side.
> Accoirding to the implementaion of SortMergeJoin, we expect the buffered side to be:
>  * smaller than streamed side
>  * has less duplicate data
> We do not know whether the join will be SortMergeJoin at logical phase, so it should do this selection at physcial phase.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org