namratha2403 commented on code in PR #4926:
URL: https://github.com/apache/iceberg/pull/4926#discussion_r886400190


##########
core/src/test/java/org/apache/iceberg/TestFastAppend.java:
##########
@@ -478,4 +478,27 @@ public void testIncludedPartitionSummaryLimit() {
     String changedPartitions = 
table.currentSnapshot().summary().get(SnapshotSummary.CHANGED_PARTITION_COUNT_PROP);
     Assert.assertEquals("Should set changed partition count", "2", 
changedPartitions);
   }
+
+  @Test
+  public void testAppendToBranch() {
+    table.newFastAppend()
+            .appendFile(FILE_C)
+            .commit();
+
+    table.newFastAppend()
+            .appendFile(FILE_B)
+            .commit();
+
+    
table.manageSnapshots().createBranch("branch",table.currentSnapshot().snapshotId());
+
+    table.newFastAppend()
+            .appendFile(FILE_A)

Review Comment:
   Should i remove this test for now? I would need a way to test the refs from 
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: [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]

Reply via email to