hk-lrzy commented on code in PR #2586:
URL: 
https://github.com/apache/incubator-seatunnel/pull/2586#discussion_r970585997


##########
seatunnel-core/seatunnel-flink-starter/src/main/java/org/apache/seatunnel/core/starter/flink/execution/SinkExecuteProcessor.java:
##########
@@ -75,7 +75,8 @@ public List<DataStream<Row>> execute(List<DataStream<Row>> 
upstreamDataStreams)
             SeaTunnelSink<SeaTunnelRow, Serializable, Serializable, 
Serializable> seaTunnelSink = plugins.get(i);
             DataStream<Row> stream = fromSourceTable(sinkConfig).orElse(input);
             seaTunnelSink.setTypeInfo((SeaTunnelRowType) 
TypeConverterUtils.convert(stream.getType()));
-            stream.sinkTo(new FlinkSink<>(seaTunnelSink));
+            stream.sinkTo(new 
FlinkSink<>(seaTunnelSink)).name(seaTunnelSink.getPluginName())

Review Comment:
   Sure, you are right, i just test it and find this issue. i will remove it 
and submit a new one to fix it.



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