Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We should support flink-cli < query01.sql or echo "INSERT INTO bar SELECT * FROM foo" | flink-cli for convenience. I'm not sure how well we support multilines and EOF right now. Currenlty, with the experimental -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.
We should also discuss which statements are allowed. Actually, only DDL and INSERT INTO statements make sense so far.
Attachments
Issue Links
- links to