CheneyYin commented on code in PR #7283:
URL: https://github.com/apache/seatunnel/pull/7283#discussion_r1712634320
##########
seatunnel-core/seatunnel-spark-starter/seatunnel-spark-starter-common/src/main/java/org/apache/seatunnel/core/starter/spark/execution/TransformExecuteProcessor.java:
##########
@@ -101,7 +102,7 @@ public List<DatasetTableInfo>
execute(List<DatasetTableInfo> upstreamDataStreams
TableTransformFactory factory = plugins.get(i);
TableTransformFactoryContext context =
new TableTransformFactoryContext(
-
Collections.singletonList(dataset.getCatalogTable()),
+
Collections.singletonList(dataset.getCatalogTables().get(0)),
Review Comment:
Maybe you can use `dataset.getCatalogTables()` instead of
`Collections.singletonList(dataset.getCatalogTables().get(0))` ?. Like this:
```java
TableTransformFactoryContext context =
new TableTransformFactoryContext(
dataset.getCatalogTables(),
ReadonlyConfig.fromConfig(pluginConfig),
classLoader);
```
--
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]