You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Qingsheng Ren (Jira)" <ji...@apache.org> on 2022/09/07 07:57:00 UTC

[jira] [Created] (FLINK-29219) CREATE TABLE AS statement blocks SQL client's execution

Qingsheng Ren created FLINK-29219:
-------------------------------------

             Summary: CREATE TABLE AS statement blocks SQL client's execution
                 Key: FLINK-29219
                 URL: https://issues.apache.org/jira/browse/FLINK-29219
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API, Table SQL / Client
    Affects Versions: 1.16.0
            Reporter: Qingsheng Ren
            Assignee: dalongliu


When executing CREATE TABLE AS statement to create a sink table in SQL client, the client could create the table in catalog and submit the job to cluster successfully, but stops emitting new prompts and accepts new inputs, and user has to use SIGTERM (Control + C) to forcefully stop the SQL client. 

As contrast the behavior of INSERT INTO statement in SQL client is printing "Job is submitted with JobID xxxx" and being ready to accept user's input. 

From the log it looks like the client was waiting for the job to finish.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)