...
The user adds catalog information to the configuration files.
The user starts CLI client with custom JAR files and configuration (
--jar
,--context
).The user enters SQL query and submits it.
The executor submits Flink job with all involved JAR files.
If a query is a
SELECT
query, the executor materializes the result such that it can be pulled by the CLI client.If a query is a
INSERT INTO
query, the executor submits the Flink job.The user can stop the running query and submit a new one.
Exiting the CLI would also stop the running
SELECT
query but notINSERT INTO
queries.
Gateway Mode
Embedded Mode
Configuration
...