[
https://issues.apache.org/jira/browse/FLINK-39726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-39726:
-----------------------------------
Labels: pull-request-available (was: )
> Update create table syntax with using connection
> ------------------------------------------------
>
> Key: FLINK-39726
> URL: https://issues.apache.org/jira/browse/FLINK-39726
> Project: Flink
> Issue Type: Sub-task
> Reporter: Hao Li
> Priority: Major
> Labels: pull-request-available
>
> Create table syntax using connection will be like below
> ```
> {{CREATE TABLE orders (}}
> {{ }}{{order_id INT,}}
> {{ }}{{customer_id INT,}}
> {{ }}{{{}amount DECIMAL({}}}{{{}10{}}}{{{},{}}}{{{}2{}}}{{{}){}}}
> {{) USING CONNECTION mycat.mydb.mysql_prod}}
> {{WITH (}}
> {{ }}{{'connector'}} {{= }}{{{}'jdbc'{}}}{{{},{}}}
> {{ }}{{'tables'}} {{= }}{{'orders'}}
> {{ }}{{...}}
> {{);}}
> {{```}}
> {{Change parser to support this}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)