dengzhhu653 commented on code in PR #5950:
URL: https://github.com/apache/hive/pull/5950#discussion_r2371017645


##########
ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsNoJobTask.java:
##########
@@ -181,6 +184,35 @@ public void run() {
         }
         parameters.putAll(basicStatistics);
         StatsSetupConst.setBasicStatsState(parameters, StatsSetupConst.TRUE);
+        try {
+          String ts = parameters.get(StatsSetupConst.TOTAL_SIZE);

Review Comment:
   the code is almost the same as `BasicStatsTask`, can we be able to make it 
an util method



##########
ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsNoJobTask.java:
##########
@@ -181,6 +184,35 @@ public void run() {
         }
         parameters.putAll(basicStatistics);
         StatsSetupConst.setBasicStatsState(parameters, StatsSetupConst.TRUE);
+        try {
+          String ts = parameters.get(StatsSetupConst.TOTAL_SIZE);

Review Comment:
   the code is almost the same as `BasicStatsTask`, can we able to make it an 
util method



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