dailai commented on code in PR #7463:
URL: https://github.com/apache/seatunnel/pull/7463#discussion_r1730933687
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/multitablesink/MultiTableSink.java:
##########
@@ -164,4 +168,13 @@ public List<TablePath> getSinkTables() {
public void setJobContext(JobContext jobContext) {
sinks.values().forEach(sink -> sink.setJobContext(jobContext));
}
+
+ @Override
+ public List<SchemaChangeType> supports() {
+ SeaTunnelSink firstSink =
sinks.entrySet().iterator().next().getValue();
Review Comment:
The sink Action may include different kinds of sink, if the first sink that
do not support SupportSchemaEvolutionSink and other support?
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/multitablesink/MultiTableSink.java:
##########
@@ -164,4 +168,13 @@ public List<TablePath> getSinkTables() {
public void setJobContext(JobContext jobContext) {
sinks.values().forEach(sink -> sink.setJobContext(jobContext));
}
+
+ @Override
+ public List<SchemaChangeType> supports() {
+ SeaTunnelSink firstSink =
sinks.entrySet().iterator().next().getValue();
Review Comment:
The sink action may include different kinds of sink, if the first sink that
do not support SupportSchemaEvolutionSink and other support?
--
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]