oldwolf1984 commented on issue #6888:
URL: https://github.com/apache/seatunnel/issues/6888#issuecomment-2126436024

   你好 我按照上面发的写了两个sql标签,执行的时候后台有报错了
   024-05-23 15:35:06,093 ERROR [o.a.s.c.s.SeaTunnel           ] [main] - 
Exception 
StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: 
SeaTunnel job executed failed
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:202)
        at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
        at 
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
   Caused by: 
org.apache.seatunnel.engine.common.exception.JobDefineCheckException: The 
source/transform(MongoDB) is not configured with 'result_table_name' option
        at 
org.apache.seatunnel.engine.core.parse.ConfigParserUtil.checkExistTableId(ConfigParserUtil.java:237)
        at 
org.apache.seatunnel.engine.core.parse.ConfigParserUtil.checkComplexGraph(ConfigParserUtil.java:155)
        at 
org.apache.seatunnel.engine.core.parse.ConfigParserUtil.checkGraph(ConfigParserUtil.java:75)
        at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:179)
        at 
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:88)
        at 
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:156)
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:149)
        ... 2 more
   Caused by: 
org.apache.seatunnel.api.configuration.util.OptionValidationException: 
ErrorCode:[API-02], ErrorDescription:[Option item validate failed] - The 
option("result_table_name")  is incorrectly configured, please refer to the 
doc: When result_table_name is not specified, the data processed by this plugin 
will not be registered as a data set (dataStream/dataset) that can be directly 
accessed by other plugins, or called a temporary table (table)When 
result_table_name is specified, the data processed by this plugin will be 
registered as a data set (dataStream/dataset) that can be directly accessed by 
other plugins, or called a temporary table (table) . The data set 
(dataStream/dataset) registered here can be directly accessed by other plugins 
by specifying source_table_name .
        ... 9 more
   
   
![QQ截图20240523153840](https://github.com/apache/seatunnel/assets/170589378/0f86b00a-1949-47d2-9056-f6f063ab0970)
   
![QQ截图20240523151259](https://github.com/apache/seatunnel/assets/170589378/35bb652a-4834-4459-948a-78c2ea01b3dc)
   
   


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