You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "lokeshj1703 (via GitHub)" <gi...@apache.org> on 2023/06/18 06:00:19 UTC
[GitHub] [hudi] lokeshj1703 commented on a diff in pull request #8963: [DO NOT MERGE] Test fix for RLI
lokeshj1703 commented on code in PR #8963:
URL: https://github.com/apache/hudi/pull/8963#discussion_r1233200551
##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/functional/TestHoodieBackedMetadata.java:
##########
@@ -2544,8 +2571,12 @@ public void testBootstrapWithTableNotFound() throws Exception {
// delete the metadata folder.
fs.delete(metadataTablePath, true);
assertFalse(fs.exists(metadataTablePath));
+ Set<String> removingPropKeys = removeMetadataPartitionsProps(metaClient.getTableConfig().getProps())
+ .getRight().keySet().stream().map(Object::toString).collect(Collectors.toSet());
+ Path metaPathDir = new Path(metaClient.getBasePathV2(), METAFOLDER_NAME);
+ HoodieTableConfig.delete(fs, metaPathDir, removingPropKeys);
Review Comment:
to be extracted
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org