You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "vamsikarnika (via GitHub)" <gi...@apache.org> on 2025/01/06 18:41:25 UTC

Re: [PR] [HUDI-8798] Validate Metadata Table Enabled during Archival [hudi]

vamsikarnika commented on code in PR #12549:
URL: https://github.com/apache/hudi/pull/12549#discussion_r1904506569


##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/io/TestHoodieTimelineArchiver.java:
##########
@@ -295,6 +295,9 @@ public void testArchiveTableWithArchival(boolean enableMetadata) throws Exceptio
             getAllArchivedCommitInstants(Arrays.asList("00000001", "00000002")),
             getActiveCommitInstants(Arrays.asList("00000003", "00000004", "00000005", "00000006")),
             commitsAfterArchival, false);
+        if (enableMetadata) {
+          disableMetadataTable(writeConfig);
+        }

Review Comment:
   We're disabling metadata table after few commits are made, metadata table partitions should  already be presnet.



-- 
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