dengzhhu653 commented on code in PR #4820:
URL: https://github.com/apache/hive/pull/4820#discussion_r1411751228
##########
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStoreUpdateUsingEvents.java:
##########
@@ -544,7 +544,7 @@ public void testPartitionOpsForUpdateUsingEvents() throws
Exception {
// Read the altered partition via CachedStore
ptnRead = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME, dbName,
tblName, Arrays.asList(ptnColVal1Alt));
- Assert.assertEquals(ptn1Atl.getParameters(), ptnRead.getParameters());
+ Assert.assertEquals(null, ptnRead);
Review Comment:
It due to CachedStore removing the cached corresponding partitions on
receiving the alter partitions notification:
https://github.com/apache/hive/pull/4820/files#diff-f19d17fff10abc51646d738e7a7d40fe058ade59f46dee3ee083d77a75f86c67R329
--
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]