wecharyu opened a new pull request, #43766: URL: https://github.com/apache/spark/pull/43766
### What changes were proposed in this pull request? Support drop multiple partitions in batch in `HiveShim`, including: 1. add a config `spark.sql.dropPartitionInBatch.size` to control the batch size of drop partitions. 2. Implement the `dropPartitions()` for different hive versions ### Why are the changes needed? To improve the performance of `dropPartitions()`. ### Does this PR introduce _any_ user-facing change? Yes, user can use the new config `spark.sql.dropPartitionInBatch.size` to control the drop batch size. ### How was this patch tested? Passing all existing tests. ### Was this patch authored or co-authored using generative AI tooling? No. -- 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]
