Neer393 commented on code in PR #6379:
URL: https://github.com/apache/hive/pull/6379#discussion_r2974712357


##########
ql/src/java/org/apache/hadoop/hive/llap/ProactiveEviction.java:
##########
@@ -302,45 +334,48 @@ public static Builder create() {
         return new Builder();
       }
 
-      public Builder addPartitionOfATable(String db, String tableName, 
LinkedHashMap<String, String> partSpec) {
-        ensureDb(db);
-        ensureTable(db, tableName);
-        entities.get(db).get(tableName).add(partSpec);
+      /**
+       * Add a partition of a table scoped to the given catalog.
+       */
+      public Builder addPartitionOfATable(String catalog, String db, String 
tableName,
+          LinkedHashMap<String, String> partSpec) {
+        ensureTable(catalog, db, tableName);
+        entities.get(catalog).get(db).get(tableName).add(partSpec);
         return this;

Review Comment:
   All calls made to this will never be null.



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