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

ASF GitHub Bot commented on FLINK-8858:
---------------------------------------

Github user twalthr commented on the issue:

    https://github.com/apache/flink/pull/6332
  
    Thanks for the review @pnowojski. I agree that we should support `flink-cli 
< query01.sql` or `echo "INSERT INTO bar SELECT * FROM foo" | flink-cli`. 
However, I would move this to a separate issue because I'm not sure how well we 
support multilines and EOF right now. With the `-u` flag the user also gets the 
correct error code after the submission, with `flink-cli < query01.sql` the CLI 
would either stay in interactive mode or always return success. I would keep 
the `-u` flag for now for testing purposes. We could remove it from the CLI 
help and leave it as an internal parameter for now. What do you think?


> Add support for INSERT INTO in SQL Client
> -----------------------------------------
>
>                 Key: FLINK-8858
>                 URL: https://issues.apache.org/jira/browse/FLINK-8858
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API &amp; SQL
>    Affects Versions: 1.6.0
>            Reporter: Renjie Liu
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>
> The current design of SQL Client embedded mode doesn't support long running 
> queries. It would be useful for simple jobs that can be expressed in a single 
> sql statement if we can submit sql statements stored in files as long running 
> queries. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to