[jira] [Created] (FLINK-17383) flink legacy planner should not use CollectionEnvironment any more

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17383) flink legacy planner should not use CollectionEnvironment any more

Shang Yuanchun (Jira)
godfrey he created FLINK-17383:
----------------------------------

             Summary: flink legacy planner should not use CollectionEnvironment any more
                 Key: FLINK-17383
                 URL: https://issues.apache.org/jira/browse/FLINK-17383
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Legacy Planner
            Reporter: godfrey he
             Fix For: 1.11.0


As discussed in https://github.com/apache/flink/pull/11794,{{CollectionEnvironment}} is not a good practice, as it is not going through all the steps that a regular user program would go. We should change the tests to use {{LocalEnvironment}}.

commit " Introduce CollectionPipelineExecutor for CollectionEnvironment ([c983ac9|https://github.com/apache/flink/commit/c983ac9c49b7b58394574efdde4f39e8d33a8582])"  should also be reverted at that mement.



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