AngersZhuuuu opened a new pull request #33811: URL: https://github.com/apache/spark/pull/33811
### What changes were proposed in this pull request? When target path is empty, we can directly rename stagingDir to targetPath avoid to rename path one by one ### Why are the changes needed? Optimize file commit logic ### Does this PR introduce _any_ user-facing change? User can set `spark.sql.source.stagingDir` to enable direct rename to targetPath instead of partition path one by one when targetPath is empty for dynamicPartitionOverWrite ### How was this patch tested? Added UT -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
