aokolnychyi commented on a change in pull request #2984: URL: https://github.com/apache/iceberg/pull/2984#discussion_r690548224
########## File path: core/src/main/java/org/apache/iceberg/Partitioning.java ########## @@ -246,4 +246,45 @@ private static boolean equivalentIgnoringNames(PartitionField field, PartitionFi private static boolean compatibleTransforms(Transform<?, ?> t1, Transform<?, ?> t2) { return t1.equals(t2) || t1.equals(Transforms.alwaysNull()) || t2.equals(Transforms.alwaysNull()); } + + /** + * Adapts the provided partition data to match the table partition type built using {@link #partitionType(Table)}. + * + * @param partitionType a table partition type that includes partition fields from all specs Review comment: Yeah, it will be set to null as all partition fields are optional and the table partition type is a union of all spec types. -- 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