[ 
https://issues.apache.org/jira/browse/FLINK-10871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691527#comment-16691527
 ] 

Fabian Hueske commented on FLINK-10871:
---------------------------------------

[~hequn8128] What would be the goal of the {{contextTableEnvFactory}}? 
Automatically determining whether to create a {{BatchTableEnvironment}} or a 
{{StreamTableEnvironment}}?
I would like that, but how would we determine with one to create?

> ExecutionEnvironment & TableEnvironment should be singleton
> -----------------------------------------------------------
>
>                 Key: FLINK-10871
>                 URL: https://issues.apache.org/jira/browse/FLINK-10871
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Jeff Zhang
>            Assignee: Hequn Cheng
>            Priority: Minor
>
> For now, ExecutionEnvironment.getExecutionEnvironment and 
> TableEnvironment.getTableEnvironment will always create a new object, I think 
> singleton should be sufficient for flink app unless I misunderstand it. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to