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:04:00 UTC

[jira] [Created] (SPARK-45594) Auto repartition before writing data into partitioned or bucket table

Wan Kun created SPARK-45594:
-------------------------------

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


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.



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