jbonofre commented on code in PR #12897: URL: https://github.com/apache/iceberg/pull/12897#discussion_r2065540144
########## api/src/main/java/org/apache/iceberg/PartitionSpec.java: ########## @@ -625,7 +634,7 @@ PartitionSpec buildUnchecked() { static void checkCompatibility(PartitionSpec spec, Schema schema) { for (PartitionField field : spec.fields) { - Type sourceType = schema.findType(field.sourceId()); + Type sourceType = schema.findType(field.sourceIds().get(0)); Review Comment: Yup. I'm doing a new update. -- 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