Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-41763 Improve v1 writes
  3. SPARK-37287

Pull out dynamic partition and bucket sort from FileFormatWriter

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • SQL

    Description

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

       

      Attachments

        Activity

          People

            allisonwang-db Allison Wang
            ulysses XiDuo You
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: