You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "rkirtir (via GitHub)" <gi...@apache.org> on 2023/06/02 10:13:13 UTC

[GitHub] [hive] rkirtir commented on a diff in pull request #4288: HIVE-24515 : Analyze table job can be skipped when stats populated ar…

rkirtir commented on code in PR #4288:
URL: https://github.com/apache/hive/pull/4288#discussion_r1214187317


##########
ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java:
##########
@@ -231,6 +234,51 @@ public int persistColumnStats(Hive db, Table tbl) throws HiveException, MetaExce
   @Override
   public void setDpPartSpecs(Collection<Partition> dpPartSpecs) {
   }
+  
+  private boolean isExistsNewerCommittedWriteId(){
+    return false;
+  }
+
+  public static boolean canSkipStatsGeneration(String dbName, String tblName, String partName,

Review Comment:
   seems this is  one of the utility methods, can we consider moving it to StatsUtils.java? we need to add test as well



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