You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/06/14 10:04:51 UTC

[GitHub] [flink] wuchong commented on issue #8712: [FLINK-12819][sql-client] Reuse TableEnvironment between different SQ…

wuchong commented on issue #8712: [FLINK-12819][sql-client] Reuse TableEnvironment between different SQ…
URL: https://github.com/apache/flink/pull/8712#issuecomment-502051439
 
 
   Thanks for the pull request @docete .  
   
   However, I think we can't reuse `TableEnvironment` between SQLs. Because `StreamExecutionEnvironment` is stateful and will cache the previous transformation. Which means it will re-run the first SQL job when submitting the second SQL job. 
   
   I think we should decouple `StreamExecutionEnvironment` from `TableEnvironment` first, i.e. generate the` StreamGraph` by `TableEnvironment` itself. And then start this work.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services