You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:13:00 UTC

[jira] [Resolved] (SPARK-21317) Avoid unnecessary sort in FileFormatWriter if data is already bucketed

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

Hyukjin Kwon resolved SPARK-21317.
----------------------------------
    Resolution: Incomplete

> Avoid unnecessary sort in FileFormatWriter if data is already bucketed
> ----------------------------------------------------------------------
>
>                 Key: SPARK-21317
>                 URL: https://issues.apache.org/jira/browse/SPARK-21317
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.1
>            Reporter: Patrick Woody
>            Priority: Major
>              Labels: bulk-closed
>
> When bucketing in FileFormatWriter, the partition is always sorted on bucketIdExpression, the partition id produced by the hash bucketing. If the data is already bucketed in that format, then this expression will be constant so there is no need to sort.



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