rdblue commented on code in PR #8147:
URL: https://github.com/apache/iceberg/pull/8147#discussion_r1274222694
##########
core/src/main/java/org/apache/iceberg/UpdateRequirement.java:
##########
@@ -199,4 +220,56 @@ public void validate(TableMetadata base) {
}
}
}
+
+ class AssertLastAssignedViewVersionId implements UpdateRequirement {
+ private final int versionId;
+
+ public AssertLastAssignedViewVersionId(int versionId) {
+ this.versionId = versionId;
+ }
+
+ public int versionId() {
+ return versionId;
+ }
+
+ @Override
+ public void validate(TableMetadata base) {
+ // noop
Review Comment:
I think all the places where there are currently noops should throw.
--
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]