jiangxin369 commented on code in PR #22034:
URL: https://github.com/apache/flink/pull/22034#discussion_r1127559977
##########
flink-core/src/test/java/org/apache/flink/types/RowTest.java:
##########
@@ -133,6 +134,18 @@ public void testRowPositioned() {
assertThat(row.getField(1), equalTo(true));
assertThat(row.getField(2), equalTo("Hello"));
+ // test accessing positioned row by default name
+ assertEquals(13, row.getField("f0"));
+ assertTrue((boolean) row.getField("f1"));
+ assertEquals("Hello", row.getField("f2"));
Review Comment:
Seems that the `assertThat` is deprecated and some assertions in this class
have changed to `assertEquals`.
--
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]