stiga-huang commented on code in PR #6058:
URL: https://github.com/apache/hive/pull/6058#discussion_r2444121723
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONReloadMessage.java:
##########
@@ -133,6 +138,11 @@ public Partition apply(@Nullable Object input) {
});
}
+ @Override
+ public Partition getPtnObj() throws Exception {
Review Comment:
Yeah, in the current code of Impala, if there are multiple partitions in the
RELOAD event, they (`ptns`) are ignored since the new API `getPartitionObjs()`
is not used yet. The RELOAD event is then treated as a whole-table reload.
That's OK since reloading the whole table also reloads these changed
partitions. Though it has some redundant work of reloading other unchanged
partitions, it ensures correctness, i.e. get rid of stale metadata cache.
--
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]