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/07/06 16:53:00 UTC

[jira] [Commented] (SPARK-37287) Pull out dynamic partition and bucket sort from FileFormatWriter

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

Apache Spark commented on SPARK-37287:
--------------------------------------

User 'allisonwang-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/37099

> Pull out dynamic partition and bucket sort from FileFormatWriter
> ----------------------------------------------------------------
>
>                 Key: SPARK-37287
>                 URL: https://issues.apache.org/jira/browse/SPARK-37287
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: XiDuo You
>            Priority: Major
>
> `FileFormatWriter.write` now is used by all V1 write which includes datasource and hive table. However it contains a sort which is based on dynamic partition and bucket columns that can not be seen in plan directly.
> V2 write has a better approach that it satisfies the order or even distribution by using rule `V2Writes`.
> V1 write should do the similar thing with V2 write.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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