ajantha-bhat commented on code in PR #13425: URL: https://github.com/apache/iceberg/pull/13425#discussion_r2175075290
########## core/src/main/java/org/apache/iceberg/PartitionStatsHandler.java: ########## @@ -115,6 +120,53 @@ public static Schema schema(StructType unifiedPartitionType) { LAST_UPDATED_SNAPSHOT_ID); } + /** + * Generates the partition stats file schema based on a combined partition type which considers + * all specs in a table. (For format version 3 and above) + * + * @param unifiedPartitionType unified partition schema type. Could be calculated by {@link + * Partitioning#partitionType(Table)}. + * @return a schema that corresponds to the provided unified partition type. + */ + public static Schema schemaV3Plus(StructType unifiedPartitionType) { Review Comment: done and deprecated old method. -- 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