asinkovits commented on a change in pull request #3128:
URL: https://github.com/apache/hive/pull/3128#discussion_r834432626
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java
##########
@@ -3243,6 +3244,21 @@ public static AcidDirectory
getAcidStateFromCache(Supplier<FileSystem> fileSyste
return value.getDirInfo();
}
+ public static void
tryInvalidateDirCache(org.apache.hadoop.hive.metastore.api.Table table) {
+ if (dirCacheInited.get()) {
+ TableName tableName = new TableName(table.getCatName(),
table.getDbName(), table.getTableName());
+ String key = tableName.getNotEmptyDbTable() + "_" +
table.getSd().getLocation();
Review comment:
Done
--
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]