dramaticlly commented on code in PR #13785:
URL: https://github.com/apache/iceberg/pull/13785#discussion_r2279871863


##########
core/src/main/java/org/apache/iceberg/MetricsConfig.java:
##########
@@ -146,7 +146,7 @@ public Set<Integer> struct(Types.StructType struct, 
Iterable<Set<Integer>> field
 
             // visit children to add more ids
             Iterator<Set<Integer>> iter = fieldResults.iterator();
-            while (shouldContinue() && iter.hasNext()) {
+            while (iter.hasNext()) {
               iter.next();

Review Comment:
   thanks @RussellSpitzer , also added one more test to highlight the 
difference in https://github.com/apache/iceberg/pull/13785/files#r2279872897



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