You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "waywtdcc (Jira)" <ji...@apache.org> on 2022/06/07 02:10: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=17550743#comment-17550743 ]
waywtdcc commented on FLINK-26942:
----------------------------------
CREATE TABLE [ IF NOT EXISTS ] table_nameĀ
[ WITH ( table_properties ) ]
[ AS query_expression ]
[ WITH [ NO ] DATA ]
I think [with [no] data] should be added to indicate whether to only create a table without writing data
> Support SELECT clause in CREATE TABLE(CTAS)
> -------------------------------------------
>
> Key: FLINK-26942
> URL: https://issues.apache.org/jira/browse/FLINK-26942
> Project: Flink
> Issue Type: Improvement
> 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.7#820007)