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

tartarus commented on FLINK-29219:
----------------------------------

[~renqs]  This problem has been located because sql-client does not handle 
`CreateTableASOperation`, I have reproduced offline.

I will fix it soon

> 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
>            Priority: Major
>
> 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)

Reply via email to