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

Hequn Cheng commented on FLINK-10871:
-------------------------------------

[~fhueske] Hi, thanks for your reply. You are right. I think we should not 
change the existing methods. Should we add a {{contextEnvironmentFactory}} for 
{{TableEnvironment}}, similar to {{contextEnvironmentFactory}} in  
{{StreamExecutionEnvironment}} and {{ExecutionEnvironment}}?

> 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