kasakrisz commented on code in PR #5648:
URL: https://github.com/apache/hive/pull/5648#discussion_r2003444436


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsAutoGatherContext.java:
##########
@@ -122,16 +123,18 @@ public void insertAnalyzePipeline() throws 
SemanticException {
    */
   public void insertTableValuesAnalyzePipeline() throws SemanticException {
     // Instead of starting from analyze statement, we just generate the Select 
plan
-    boolean isPartitionStats = 
conf.getBoolVar(ConfVars.HIVE_STATS_COLLECT_PART_LEVEL_STATS) && 
tbl.isPartitioned();
+    boolean isPartitionStats = StatsUtils.isPartitionStats(tbl, conf);

Review Comment:
   nit. Should we call these `hasPartitionStats` ?



-- 
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: [email protected]

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