[ https://issues.apache.org/jira/browse/HIVE-26788?focusedWorklogId=830957&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-830957 ]
ASF GitHub Bot logged work on HIVE-26788: ----------------------------------------- Author: ASF GitHub Bot Created on: 05/Dec/22 08:21 Start Date: 05/Dec/22 08:21 Worklog Time Spent: 10m Work Description: deniskuzZ commented on code in PR #3812: URL: https://github.com/apache/hive/pull/3812#discussion_r1039282031 ########## ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/StatsUpdater.java: ########## @@ -52,10 +52,6 @@ public final class StatsUpdater { */ public void gatherStats(CompactionInfo ci, HiveConf conf, String userName, String compactionQueueName) { try { - if (!ci.isMajorCompaction()) { Review Comment: how much overhead we could get on a production cluster? AFAIK when multiple workers are used those would try to initiate a new Tez session. Issue Time Tracking ------------------- Worklog Id: (was: 830957) Time Spent: 50m (was: 40m) > Update stats of table/partition after minor compaction using noscan operation > ----------------------------------------------------------------------------- > > Key: HIVE-26788 > URL: https://issues.apache.org/jira/browse/HIVE-26788 > Project: Hive > Issue Type: Improvement > Reporter: Sourabh Badhya > Assignee: Sourabh Badhya > Priority: Major > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > Currently, statistics are not updated for minor compaction since minor > compaction performs little updates on the statistics (such as number of files > in table/partition & total size of the table/partition). It is better to > utilize NOSCAN operation for minor compaction since NOSCAN operations > performs faster update of statistics and updates the relevant fields such as > number of files & total sizes of the table/partitions. -- This message was sent by Atlassian Jira (v8.20.10#820010)