Shuo Cheng created FLINK-29990: ---------------------------------- Summary: 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 Fix For: 1.17.0
Consider the following DDL sql: {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, when you trying to parse the above sql. -- This message was sent by Atlassian Jira (v8.20.10#820010)