pvary commented on code in PR #16569:
URL: https://github.com/apache/iceberg/pull/16569#discussion_r3311520226


##########
api/src/main/java/org/apache/iceberg/PartitionStatistics.java:
##########
@@ -56,18 +56,26 @@ public interface PartitionStatistics extends StructLike {
           .withWriteDefault(Literal.of(0))
           .build();
 
+  /**
+   * @deprecated and will be removed in 1.13.0. Use {@link 
PartitionStatistics#writeSchema} instead
+   */
+  @Deprecated
   static Schema schema(Types.StructType unifiedPartitionType, int 
formatVersion) {
+    return writeSchema(unifiedPartitionType, formatVersion);
+  }
+
+  static Schema writeSchema(Types.StructType unifiedPartitionType, int 
formatVersion) {

Review Comment:
   Why do we change the name?



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