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

Apache Spark commented on SPARK-37674:
--------------------------------------

User 'weixiuli' has created a pull request for this issue:
https://github.com/apache/spark/pull/34933

> Reduce the output partition of output stage to avoid producing small files.
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-37674
>                 URL: https://issues.apache.org/jira/browse/SPARK-37674
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0, 3.0.2, 3.0.3, 3.1.1, 3.2.0
>            Reporter: weixiuli
>            Priority: Major
>
> The partition size of the finalStage with `DataWritingCommand` or
>  `V2TableWriteExec` may use the ADVISORY_PARTITION_SIZE_IN_BYTES which is 
> smaller one and  produce some small files, it may bad for production, we 
> should use a new partition size for the finalStage with `DataWritingCommand` 
> or `V2TableWriteExec` to avoid small files.



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

Reply via email to