dengzhhu653 commented on code in PR #3137:
URL: https://github.com/apache/hive/pull/3137#discussion_r1038906234
##########
common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:
##########
@@ -81,6 +81,21 @@ public static List<FileStatus> getFileStatusRecurse(Path
path, int level, FileS
return Lists.newArrayList(fs.globStatus(pathPattern,
FileUtils.HIDDEN_FILES_PATH_FILTER));
}
+ public static boolean computeHistograms(Configuration conf) {
+ return conf.getBoolean(HiveConf.ConfVars.HIVE_STATS_KLL_ENABLE.varname,
Review Comment:
nit: we can use HiveConf.getBoolVar instead
--
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]