deniskuzZ commented on code in PR #12137: URL: https://github.com/apache/iceberg/pull/12137#discussion_r1955044758
########## core/src/test/java/org/apache/iceberg/TestPartitionStatsUtil.java: ########## @@ -370,16 +371,167 @@ public void testPartitionStatsWithSchemaEvolution() throws Exception { snapshot2.snapshotId())); } - private static PartitionData partitionData(Types.StructType partitionType, String c2, String c3) { - PartitionData partitionData = new PartitionData(partitionType); - partitionData.set(0, c2); - partitionData.set(1, c3); - return partitionData; + @org.junit.Test Review Comment: fixed. I know the intention, however, there is a bug with the key matching. For the created test case, the existing code returns just 3 partition values instead of 6. ```` [foo, 0, null] [foo, 1, null] [bar, null, 0] ```` -- 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