You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wang, Gang (JIRA)" <ji...@apache.org> on 2019/01/22 08:13:00 UTC

[jira] [Updated] (SPARK-26672) SinglePartition may not satisfies HashClusteredDistribution/OrderedDistribution

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

Wang, Gang updated SPARK-26672:
-------------------------------
    Summary: SinglePartition may not satisfies HashClusteredDistribution/OrderedDistribution  (was: SinglePartition should not satisfies HashClusteredDistribution/OrderedDistribution)

> SinglePartition may not satisfies HashClusteredDistribution/OrderedDistribution
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-26672
>                 URL: https://issues.apache.org/jira/browse/SPARK-26672
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Wang, Gang
>            Priority: Major
>
> If we are loading data to a *bucketed table* TEST_TABLE from another table SRC_TABLE(bucketed or not) with sql:
> insert overwrite table TEST_TABLE select * from SRC_TABLE limit 1000.
> Data inserted into TEST_TABLE will not be bucketed since after LimitExec the output partitioning will be  SinglePartition, and in current logic, it satisfies the HashClusteredDistribution, so no shuffle will be added.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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