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

ASF GitHub Bot commented on BEAM-2446:
--------------------------------------

Github user XuMingmin closed the pull request at:

    https://github.com/apache/beam/pull/3372


> restrict scope of BeamSqlEnv in dsl query
> -----------------------------------------
>
>                 Key: BEAM-2446
>                 URL: https://issues.apache.org/jira/browse/BEAM-2446
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Xu Mingmin
>            Assignee: Xu Mingmin
>              Labels: dsl_sql_merge
>             Fix For: Not applicable
>
>
> Currently, the scope of BeamSqlEnv is global, that means all tables are 
> accesible for each query, although it may not be related to the input 
> PCollections in DSL methods.
> For BeamSqlCli, it's reasonable to have a session BeamSqlEnv for each SQL 
> client. 
> For BeamSql, each query should have its own BeamSqlEnv, which only has the 
> input tables/PCollections.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to