[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to