XiDuo You created SPARK-37287: --------------------------------- Summary: 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
FileFormatWriter.write now is used by all V1 write which includes datasource and hive table. However it contains a sort: dynamic partition and bucket columns which can not be seen in plan directly. V2 write has a better approach that satisfies add the order or even distribution 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