nastra commented on code in PR #9620:
URL: https://github.com/apache/iceberg/pull/9620#discussion_r1489508079


##########
core/src/test/java/org/apache/iceberg/view/TestViewMetadata.java:
##########
@@ -334,6 +334,9 @@ public void viewMetadataAndMetadataChanges() {
             .addVersion(viewVersionOne)
             .addVersion(viewVersionTwo)
             .addVersion(viewVersionThree)
+            .setCurrentVersionId(1)
+            .setCurrentVersionId(2)
+            // this will only keep the last set version id and ignore the 
previously set ones

Review Comment:
   this test already verifies that there's only a single 
`SetCurrentViewVersion` in `changes`



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

Reply via email to