dawidwys commented on a change in pull request #8006: [FLINK-11068][table]
Convert the API classes of *Table to interfaces
URL: https://github.com/apache/flink/pull/8006#discussion_r266882910
##########
File path:
flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/gateway/local/result/MaterializedCollectStreamResultTest.java
##########
@@ -42,7 +42,7 @@
@Test
public void testSnapshot() throws UnknownHostException {
- final TypeInformation<Row> type = Types.ROW(Types.STRING,
Types.LONG);
+ final RowTypeInfo type = (RowTypeInfo) Types.ROW(Types.STRING,
Types.LONG);
Review comment:
Let's go directly for the ctor.
----------------------------------------------------------------
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]
With regards,
Apache Git Services