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_r266882661
 
 

 ##########
 File path: 
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/local/result/CollectStreamResult.java
 ##########
 @@ -72,7 +73,9 @@ public CollectStreamResult(TypeInformation<Row> outputType, 
ExecutionConfig conf
 
                // create table sink
                // pass binding address and port such that sink knows where to 
send to
-               collectTableSink = new 
CollectStreamTableSink(iterator.getBindAddress(), iterator.getPort(), 
serializer);
+               collectTableSink =
+                       (CollectStreamTableSink) new 
CollectStreamTableSink(iterator.getBindAddress(), iterator.getPort(), 
serializer)
 
 Review comment:
   Same as in the batch case.

----------------------------------------------------------------
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

Reply via email to