CosmosNi commented on code in PR #7907:
URL: https://github.com/apache/seatunnel/pull/7907#discussion_r1816307486
##########
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:
- when transform,upstreamDataStreams size is 2, always get source
DataStreamTableInfo,not transform DataStreamTableInfo.
--
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]