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

2022-07-26 Thread Apache Spark (Jira)


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

Apache Spark commented on SPARK-37287:
--

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

> 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
>Assignee: Allison Wang
>Priority: Major
> Fix For: 3.4.0
>
>
> `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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2022-07-26 Thread Apache Spark (Jira)


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

Apache Spark commented on SPARK-37287:
--

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

> 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
>Assignee: Allison Wang
>Priority: Major
> Fix For: 3.4.0
>
>
> `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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2022-07-06 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-37287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2021-11-12 Thread Apache Spark (Jira)


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

Apache Spark commented on SPARK-37287:
--

User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/34568

> 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.1#820001)

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