chenjunjiedada commented on code in PR #7836:
URL: https://github.com/apache/iceberg/pull/7836#discussion_r1231704516
##########
flink/v1.17/flink/src/test/java/org/apache/iceberg/flink/SimpleDataUtil.java:
##########
@@ -349,7 +349,10 @@ public static void assertTableRecords(String tablePath,
List<Record> expected, S
public static StructLikeSet expectedRowSet(Table table, Record... records) {
StructLikeSet set = StructLikeSet.create(table.schema().asStruct());
- Collections.addAll(set, records);
+ InternalRecordWrapper wrapper = new
InternalRecordWrapper(table.schema().asStruct());
Review Comment:
Why do we need this wrapper?
--
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]