deniskuzZ commented on code in PR #5503:
URL: https://github.com/apache/hive/pull/5503#discussion_r1804353562


##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CompactorUtil.java:
##########
@@ -565,4 +566,16 @@ public static Map<String, Integer> getPoolConf(HiveConf 
hiveConf) {
     }
     return poolConf;
   }
+
+  public static String getCompactPoolName(HiveConf conf, 
org.apache.hadoop.hive.ql.metadata.Table table) 

Review Comment:
   please extract the `getPoolName` method from Initiator to some common place. 
Note `resolveDatabase` is not cheap, so it has to be cached. 



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