Currently, Flink 1.9 doesn't support to submit a DDL statement in SQL CLI, and also doesn't support to submit a SQL script. This is not convenient for walkthrough and demo. That's why I created a such a project.
env.sh
src/main/resources/
with .sql
suffix, e.g, q1.sql
./run.sh <sql-file-name>
, e.g. ./run.sh q1
Starting execution of program
Job has been submitted with JobID d01b04d7c8f8a90798d6400462718743
You can follow my WeChat Subscription Account for more information about this project.