Hisoka-X commented on code in PR #7907:
URL: https://github.com/apache/seatunnel/pull/7907#discussion_r1816280215
##########
seatunnel-core/seatunnel-flink-starter/seatunnel-flink-13-starter/src/main/java/org/apache/seatunnel/core/starter/flink/execution/SinkExecuteProcessor.java:
##########
@@ -98,7 +98,7 @@ public List<DataStreamTableInfo>
execute(List<DataStreamTableInfo> upstreamDataS
throws TaskExecuteException {
SeaTunnelSinkPluginDiscovery sinkPluginDiscovery =
new SeaTunnelSinkPluginDiscovery(ADD_URL_TO_CLASSLOADER);
- DataStreamTableInfo input = upstreamDataStreams.get(0);
+ DataStreamTableInfo input =
upstreamDataStreams.get(upstreamDataStreams.size() - 1);
Review Comment:
what's different when `upstreamDataStreams` size is 1?
--
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]