Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
Currently, ExecutionEnvironment only supports executing the plan generated by self.
FLIP-84 proposes TableEnvironment can only trigger the table program and the StreamExecutionEnvironment/ExecutionEnvironment can only trigger DataStream/DataSet program. This requires that ExecutionEnvironment can execute the plan generated by TableEnvironment. We propose to add two methods in ExecutionEnvironment: (which are similar to StreamExecutionEnvironment#execute(StreamGraph) and StreamExecutionEnvironment#executeAsync(StreamGraph))
public class ExecutionEnvironment { @Internal public JobExecutionResult execute(Plan plan) throws Exception { ..... } @Internal public JobClient executeAsync(Plan plan) throws Exception { ..... } }
Attachments
Issue Links
- is related to
-
FLINK-17052 Introduce PlanGenerator
- Closed
- links to