deniskuzZ commented on code in PR #6379:
URL: https://github.com/apache/hive/pull/6379#discussion_r3001202421
##########
llap-server/src/test/org/apache/hadoop/hive/llap/cache/TestCacheContentsTracker.java:
##########
@@ -167,81 +170,83 @@ private static LlapCacheableBuffer createMockBuffer(long
size, CacheTag cacheTag
return llapCacheableBufferMock;
}
- public static CacheTag cacheTagBuilder(String dbAndTable, String...
partitions) {
+ public static CacheTag cacheTagBuilder(String fullTableName, String...
partitions) {
if (partitions != null && partitions.length > 0) {
LinkedHashMap<String, String> partDescs = new LinkedHashMap<>();
for (String partition : partitions) {
String[] partDesc = partition.split("=");
partDescs.put(partDesc[0], partDesc[1]);
}
- return CacheTag.build(dbAndTable, partDescs);
+ return CacheTag.build(fullTableName, partDescs);
} else {
- return CacheTag.build(dbAndTable);
+ return CacheTag.build(fullTableName);
}
}
+ private static final String DEF_CAT = Warehouse.DEFAULT_CATALOG_NAME + ".";
Review Comment:
drop this
--
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]