nsivabalan commented on code in PR #5344: URL: https://github.com/apache/hudi/pull/5344#discussion_r852372132
########## hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java: ########## @@ -399,7 +400,9 @@ public void doMetadataTableValidation() { Set<String> baseFilesForCleaning = Collections.emptySet(); // check metadata table is available to read. - checkMetadataTableIsAvailable(); + if (!checkMetadataTableIsAvailable()) { + return; + } Review Comment: even if Metadata table does not have any commits, do we need to add an else block here and check that there are no completed commits in data table? -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org