Closed zhangjun0x01 closed 1 year ago
druid
can not parse the create table ddl
to get primary key and schema in some case, for example:
1. create table t1(id int primary key, name varchar(10)). // the primary key following the field
2. create table t14 (id int, `name` varchar(10), primary key(id)); // with quoted
3. create table xxx like xxx
4. create table xxx as select * from xxx
so I refactor the code by history record to solve these problems
Search before asking
Paimon version
master
Compute Engine
flink
Minimal reproduce step