rdblue commented on a change in pull request #1272:
URL: https://github.com/apache/iceberg/pull/1272#discussion_r476008696
##########
File path: flink/src/test/java/org/apache/iceberg/flink/data/TestHelpers.java
##########
@@ -66,15 +65,12 @@ public static void assertRowData(Types.StructType
structType, LogicalType rowTyp
for (int i = 0; i < types.size(); i += 1) {
Object expected = expectedRecord.get(i);
LogicalType logicalType = ((RowType) rowType).getTypeAt(i);
-
- final int fieldPos = i;
assertEquals(types.get(i), logicalType, expected,
- () -> RowData.createFieldGetter(logicalType,
fieldPos).getFieldOrNull(actualRowData));
+ RowData.createFieldGetter(logicalType,
i).getFieldOrNull(actualRowData));
Review comment:
Thanks for fixing these.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]