[ https://issues.apache.org/jira/browse/FLINK-28985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694057#comment-17694057 ]
Jark Wu commented on FLINK-28985: --------------------------------- Hi [~waywtdcc], as this involves exposing a new SQL syntax, it requires a FLIP and discussion on dev ML. Besides, it would be better to investigate what syntax and behavior are in other systems. Currently, from the issue description, it's unclear what syntax and behavior and what problem this syntax solves. > support create table like view > ------------------------------ > > Key: FLINK-28985 > URL: https://issues.apache.org/jira/browse/FLINK-28985 > Project: Flink > Issue Type: Improvement > Components: Table SQL / API > Affects Versions: 1.15.1, 1.16.0 > Reporter: waywtdcc > Assignee: waywtdcc > Priority: Major > Labels: pull-request-available > Fix For: 1.18.0 > > > At present, to create a table based on table like, you can only use the table > type table, not the view type. > > create table <tableName> like <viewName>; > Only like table type can be used before. This is similar to create table as < > querysql >, but some scenarios use views more flexibly and can reuse a single > view in multiple places. -- This message was sent by Atlassian Jira (v8.20.10#820010)