Github user twalthr commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6201#discussion_r198219005
  
    --- Diff: 
flink-libraries/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/local/LocalExecutor.java
 ---
    @@ -321,6 +327,18 @@ public void stop(SessionContext session) {
                }
        }
     
    +   private <T> void executeUpdateInternal(ExecutionContext<T> context, 
String query) {
    +           final ExecutionContext.EnvironmentInstance envInst = 
context.createEnvironmentInstance();
    +
    +           envInst.getTableEnvironment().sqlUpdate(query);
    --- End diff --
    
    We also need to ship the query config here.


---

Reply via email to