sunjincheng created FLINK-11290:
-----------------------------------
Summary: BatchTableEnvironment and StreamTableEnvironment should transparent to users
Key: FLINK-11290
URL:
https://issues.apache.org/jira/browse/FLINK-11290 Project: Flink
Issue Type: Improvement
Components: Table API & SQL
Affects Versions: 1.8.0
Reporter: sunjincheng
Users only care about their own business logic, do not care about the different implementation of stream and batch TableEnvironment.
From:
{code:java}
ExecutionEnvironment env = ...
BatchTableEnvironment tEnv =
TableEnvironment.getTableEnvironment(env);
{code}
To:
{code:java}
ExecutionEnvironment env = …
TableEnvironment tEnv = TableEnvironment.getTableEnvironment(env)
{code}
The google doc: [
https://docs.google.com/document/d/1t-AUGuaChADddyJi6e0WLsTDEnf9ZkupvvBiQ4yTTEI/edit#|
https://docs.google.com/document/d/1t-AUGuaChADddyJi6e0WLsTDEnf9ZkupvvBiQ4yTTEI/edit]
The DISCUSS thread: [
http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Enhance-convenience-of-TableEnvironment-in-TableAPI-SQL-td25825.html#a25839]
Any feedback is welcome!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)