[
https://issues.apache.org/jira/browse/FLINK-29990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-29990:
-----------------------------------
Labels: pull-request-available (was: )
> Unparsed SQL for SqlTableLike cannot be parsed correctly
> --------------------------------------------------------
>
> Key: FLINK-29990
> URL: https://issues.apache.org/jira/browse/FLINK-29990
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 1.16.0
> Reporter: Shuo Cheng
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.17.0
>
>
> Consider the following DDL sql (LIKE without any options):
> {code:java}
> create table source_table(
> a int,
> b bigint,
> c string
> )
> LIKE parent_table{code}
> After unparsed by sql parser, we get the following result:
> {code:java}
> CREATE TABLE `SOURCE_TABLE` (
> `A` INTEGER,
> `B` BIGINT,
> `C` STRING
> )
> LIKE `PARENT_TABLE` (
> ) {code}
> Exception will be thrown if you try to parse the above sql.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)