[jira] [Created] (FLINK-22744) Simplify TableEnvironment.create()

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

[jira] [Created] (FLINK-22744) Simplify TableEnvironment.create()

Shang Yuanchun (Jira)
Timo Walther created FLINK-22744:
------------------------------------

             Summary: Simplify TableEnvironment.create()
                 Key: FLINK-22744
                 URL: https://issues.apache.org/jira/browse/FLINK-22744
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Timo Walther
            Assignee: Timo Walther


After dropping the legacy planner, in many cases there is not much to build in the `EnvironmentSettings` except for batch/streaming mode. Simplify the API with:
{code:java}
TableEnvironment.create()    // default settings in streaming mode / later automatic mode
EnvironmentSettings.inStreamingMode()    // shortcut
EnvironmentSettings.inBatchMode()        // shortcut
{code}



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