You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lantao Jin (Jira)" <ji...@apache.org> on 2020/06/29 14:16:00 UTC

[jira] [Updated] (SPARK-32129) Support AQE skew join with Union

     [ https://issues.apache.org/jira/browse/SPARK-32129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lantao Jin updated SPARK-32129:
-------------------------------
    Description: 
Current, the AQE skew join only supports two tables join such as
{code}
SMJ
:-Sort
:    +-Shuffle
+-Sort
     +-Shuffle
{code}
But if the plan contains a Union, the skew join handling not work:
{code}
Union
:-SMJ
:   :-Sort
:   :     +-Shuffle
:   +-Sort
:         +-Shuffle
+-SMJ
:   :-Sort
:   :     +-Shuffle
:   +-Sort
         +-Shuffle
{code}


  was:
Current, the AQE skew join only supports two tables join such as
{code}
SMJ
:-Sort
:    +-Shuffle
+-Sort
     +-Shuffle
{code}
But if the plan contains a Union, the skew join handling not work:
{code}
Union
:-SMJ
:   :-Sort
:   :     +-Shuffle
:  +-Sort
:         +-Shuffle
+-SMJ
:   :-Sort
:   :     +-Shuffle
:  +-Sort
         +-Shuffle
{code}



> Support AQE skew join with Union
> --------------------------------
>
>                 Key: SPARK-32129
>                 URL: https://issues.apache.org/jira/browse/SPARK-32129
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Lantao Jin
>            Priority: Major
>
> Current, the AQE skew join only supports two tables join such as
> {code}
> SMJ
> :-Sort
> :    +-Shuffle
> +-Sort
>      +-Shuffle
> {code}
> But if the plan contains a Union, the skew join handling not work:
> {code}
> Union
> :-SMJ
> :   :-Sort
> :   :     +-Shuffle
> :   +-Sort
> :         +-Shuffle
> +-SMJ
> :   :-Sort
> :   :     +-Shuffle
> :   +-Sort
>          +-Shuffle
> {code}



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