MaxGekk edited a comment on pull request #31114:
URL: https://github.com/apache/spark/pull/31114#issuecomment-758202758


   Alter carefully looking into `updateTableStats()`, I think this PR can cause 
perf regression because `updateTableStats()` re-calculate size of the entire 
table but existing code does that only for new partition.
   
   Just in case, we can optimize `ALTER TABLE .. DROP PARTITION` by calculating 
size of dropped partition only but not entire table.


----------------------------------------------------------------
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]

Reply via email to