[ 
https://issues.apache.org/jira/browse/FLINK-39726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Li updated FLINK-39726:
---------------------------
    Description: 
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}}

> 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
>
> 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)

Reply via email to