Hi, Weizheng
> 在 2020年8月13日,19:44,Danny Chan <yuzhao....@gmail.com> 写道: > > tEnv.executeSql would execute the SQL asynchronously, e.g. submitting a job > to the backend cluster with a builtin job name `tEnv.executeSql` is an asynchronous method which will submit the job immediately. If you’re test in your IDE, you’d better obtain the TableResult object and wait for the execution as following piece of code, otherwise your `main()` method in demo may exit before the execution finished. TableResult result = tableEnvironment.executeSql("insert into ... "); // wait for the insert job finished result.getJobClient().get() .getJobExecutionResult(Thread.currentThread().getContextClassLoader()).get(); Best Leonard