nk1506 commented on code in PR #9822: URL: https://github.com/apache/iceberg/pull/9822#discussion_r1505836803
########## core/src/test/java/org/apache/iceberg/TestOverwrite.java: ########## @@ -312,4 +313,154 @@ public void testValidatedOverwriteWithAppendSuccess() { Assert.assertEquals( "Should not create a new snapshot", baseId, latestSnapshot(base, branch).snapshotId()); } + + @Test + public void testOverwriteWithEmptyTableAppendManifest() throws IOException { + Assert.assertEquals("Table should start empty", 0, listManifestFiles().size()); + + TableMetadata base = readMetadata(); + Assert.assertNull("Should not have a current snapshot", latestSnapshot(base, branch)); Review Comment: I was following class template. I will update for all the tests. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org