szehon-ho commented on code in PR #4535:
URL: https://github.com/apache/iceberg/pull/4535#discussion_r855791523


##########
core/src/test/java/org/apache/iceberg/TestSchemaUpdate.java:
##########
@@ -1388,34 +1395,39 @@ public void testSetIdentifierFieldsFails() {
             .setIdentifierFields("locations.key.zip")
             .apply());
 
-    AssertHelpers.assertThrows("add a nested field in list should fail",

Review Comment:
   Ah i see,  it checks from bottom upward , and hits the "element" optional 
check first.  What do you think about, we still keep the test as "add a nested 
field in optional list should fail", and change the assert message?  This test  
may still have value as there's not another that test this case, unless I am 
missing seeing it.



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