ajantha-bhat commented on code in PR #11216: URL: https://github.com/apache/iceberg/pull/11216#discussion_r1777915925
########## core/src/test/java/org/apache/iceberg/TestPartitionStatsUtil.java: ########## @@ -370,17 +371,17 @@ 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; + private static StructLike partitionData(Types.StructType partitionType, String c2, String c3) { + GenericRecord record = GenericRecord.create(partitionType); Review Comment: Stores the `Record` instead of `PartitionData` in the core logic. So, testcase is updated to expect `Record`. -- 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