kamcheungting-db commented on code in PR #16582:
URL: https://github.com/apache/iceberg/pull/16582#discussion_r3312467249


##########
api/src/main/java/org/apache/iceberg/PartitionStatistics.java:
##########
@@ -84,7 +92,11 @@ private static Schema v2Schema(Types.StructType 
unifiedPartitionType) {
         LAST_UPDATED_SNAPSHOT_ID);
   }
 
-  private static Schema v3Schema(Types.StructType unifiedPartitionType) {
+  private static Schema v3WriteSchema(Types.StructType unifiedPartitionType) {
+    return latestSchema(unifiedPartitionType);
+  }
+
+  static Schema latestSchema(Types.StructType unifiedPartitionType) {

Review Comment:
   add javac doc: `returns the schema for the highest supported format version`



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