Fokko commented on code in PR #13872:
URL: https://github.com/apache/iceberg/pull/13872#discussion_r2287946619
##########
core/src/test/java/org/apache/iceberg/TestSchemaUpdate.java:
##########
@@ -2503,4 +2504,53 @@ public void testAddRequiredUnknown() {
.isInstanceOf(IllegalArgumentException.class)
.hasMessage("Cannot create required field with unknown type: unk");
}
+
+/**
+ * This test reproduces the issue where dropping a column with the highest
field ID
+ * fails with "Invalid last column ID: X < Y (previous last column ID)"
Review Comment:
I was just checking this as well, would be great to have a test to replicate
the issue.
--
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]