luoyuxia commented on code in PR #23013:
URL: https://github.com/apache/flink/pull/23013#discussion_r1280147373


##########
flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/stream/StreamingSink.java:
##########
@@ -173,7 +173,7 @@ public static DataStreamSink<?> sink(
         }
 
         DataStreamSink<?> discardingSink =
-                stream.addSink(new 
DiscardingSink<>()).name("end").setParallelism(1);
+                stream.sinkTo(new 
DiscardingSink<>()).name("end").setParallelism(1);

Review Comment:
   If it's only Physical Execution Plan, I don't think it will break 
compatibility.



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

Reply via email to