adrians commented on code in PR #12651: URL: https://github.com/apache/iceberg/pull/12651#discussion_r2026422655
########## api/src/main/java/org/apache/iceberg/PartitionSpec.java: ########## @@ -265,6 +265,22 @@ public boolean equals(Object other) { return Arrays.equals(fields, that.fields); } + public boolean equalOrFinerThan(PartitionSpec that) { + if (this.fields.length < that.fields.length) { Review Comment: Haven't tested it with V1-table-format or void transforms. Will add a bunch of unit-tests covering 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: 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