You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "tartarus (Jira)" <ji...@apache.org> on 2022/07/08 08:23:00 UTC

[jira] [Commented] (FLINK-26942) Support SELECT clause in CREATE TABLE(CTAS)

    [ https://issues.apache.org/jira/browse/FLINK-26942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564156#comment-17564156 ] 

tartarus commented on FLINK-26942:
----------------------------------

[~waywtdcc]  Thanks for the suggestion about the [with [no] data] syntax, but I haven't seen a requirement scenario yet.

If you're just creating tables, the CREATE TABLE and CREATE TABLE LIKE syntax should work well, maybe in some cases I'm not aware of.

> Support SELECT clause in CREATE TABLE(CTAS)
> -------------------------------------------
>
>                 Key: FLINK-26942
>                 URL: https://issues.apache.org/jira/browse/FLINK-26942
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table SQL / Planner
>            Reporter: tartarus
>            Priority: Major
>             Fix For: 1.16.0
>
>
> Support CTAS(CREATE TABLE AS SELECT) syntax
> {code:java}
> CREATE TABLE [ IF NOT EXISTS ] table_name 
> [ WITH ( table_properties ) ]
> [ AS query_expression ] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)