You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/01/12 12:02:39 UTC
[GitHub] [hive] HarshitGupta11 commented on a change in pull request #2771: HIVE-24367: Explore whether HiveAlterHandler::alterTable can be optimised for non-partitioned tables
HarshitGupta11 commented on a change in pull request #2771:
URL: https://github.com/apache/hive/pull/2771#discussion_r783011556
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java
##########
@@ -136,6 +136,11 @@ public BasicStatsProcessor(Partish partish, BasicStatsWork work, HiveConf conf,
}
}
+ public boolean canTrim(){
Review comment:
The stats update will work only for tables that are non-partitioned and in the queries where there is a single stats stage(otherwise it will lead to overcounting) and some other conditions. So here it checks for those conditions.
--
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: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org