MaxGekk opened a new pull request #31114: URL: https://github.com/apache/spark/pull/31114
### What changes were proposed in this pull request? Replace the code for updating of table stats by `updateTableStats()` in `AlterTableAddPartitionCommand.run()`. This follows the same approach as in `AlterTableDropPartitionCommand.run()` ### Why are the changes needed? To improve code maintenance. ### Does this PR introduce _any_ user-facing change? Should not. ### How was this patch tested? By running unified tests for `ALTER TABLE .. ADD PARTITION`: ``` $ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *.AlterTableAddPartitionSuite" ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
