jbonofre commented on code in PR #12897:
URL: https://github.com/apache/iceberg/pull/12897#discussion_r2093531700


##########
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:
   I introduced new `canTransform(List)` and `getResultType(List)` to support 
multi-args in transforms.
   I didn't remove the "old" methods, and I propose to deprecate it.
   Thoughts ?



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