[ 
https://issues.apache.org/jira/browse/FLINK-23161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ingo Bürk closed FLINK-23161.
-----------------------------
    Resolution: Won't Fix

Closing for now since it's a question (and a duplicate).

> Cannot have more than one execute() or executeAsync() call in a single 
> environment.
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-23161
>                 URL: https://issues.apache.org/jira/browse/FLINK-23161
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream, Table SQL / API
>    Affects Versions: 1.13.0
>            Reporter: roberto hashioka
>            Priority: Major
>
> My Job has both DataStream and SQL, and both of them need the execute API to 
> run the task (StreamExecutionEnvironment.execute and 
> StreamTableEnvironment.execute). The Flink run work well, but restApi can 
> only work with one of them, have both of them may cause exception "Cannot 
> have more than one execute() or executeAsync() call in a single environment". 
> It seems that restApi can only support one execute in job. 
>  
> Is there a way to workaround this limitation, but still using the API to 
> submit the job?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to