rdblue commented on code in PR #6371: URL: https://github.com/apache/iceberg/pull/6371#discussion_r1053517623
########## api/src/main/java/org/apache/iceberg/types/Types.java: ########## @@ -554,6 +554,10 @@ public List<NestedField> fields() { return lazyFieldList(); } + public boolean containsField(int id) { Review Comment: Is this helpful? Further down, you use `schema.findField(field.sourceId()) != null` to check whether a schema contains a field (at any level) and that seems like a reasonable check to me. -- 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