You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wan Kun (Jira)" <ji...@apache.org> on 2023/10/18 15:15:00 UTC
[jira] [Updated] (SPARK-45594) Auto repartition before writing data into partitioned or bucket table
[ https://issues.apache.org/jira/browse/SPARK-45594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wan Kun updated SPARK-45594:
----------------------------
Description:
Now, when writing data into partitioned table, there will be at least *dynamicPartitions * ShuffleNum* files; when writing data into bucket table, there will be at least *bucketNums * shuffleNum* files.
We can shuffle by the dynamic partitions or bucket columns before writing data into the table and will create ShuffleNum files.
was:
Now, when writing data into partitioned table, there will be at least *dynamicPartitions * ShuffleNum* files; when writing data into bucket table, there will be at least *bucketNums * shuffleNum* files.
We can shuffle by the dynamic partitions or bucket columns before writing data into the table.
> Auto repartition before writing data into partitioned or bucket table
> ----------------------------------------------------------------------
>
> Key: SPARK-45594
> URL: https://issues.apache.org/jira/browse/SPARK-45594
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Wan Kun
> Priority: Major
>
> Now, when writing data into partitioned table, there will be at least *dynamicPartitions * ShuffleNum* files; when writing data into bucket table, there will be at least *bucketNums * shuffleNum* files.
> We can shuffle by the dynamic partitions or bucket columns before writing data into the table and will create ShuffleNum files.
--
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