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

Sergey Nuyanzin commented on FLINK-35709:
-----------------------------------------

Merged as 
[c1fa29ac91aeef64701d8d97b13644a4267e8f8e|https://github.com/apache/flink/commit/c1fa29ac91aeef64701d8d97b13644a4267e8f8e]
[baa67f465b77c9b3131d8153b52d2a94e3e00ef9|https://github.com/apache/flink/commit/baa67f465b77c9b3131d8153b52d2a94e3e00ef9]

[~spena] feel free to reopen if you think there is something else should be 
done here

> Allow reordering source column names in CTAS / RTAS
> ---------------------------------------------------
>
>                 Key: FLINK-35709
>                 URL: https://issues.apache.org/jira/browse/FLINK-35709
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0-preview
>
>
> Allow reordering the source columns of the resulted schema in CTAS when 
> defined as column names. This feature should not be allowed with the support 
> of new columns.
> The syntax to support is:
> {noformat}
> CREATE TABLE table_name [( col_name1 [, column_name2, ...] )]
> [WITH (table_properties)]
> AS SELECT query_expression; {noformat}
> The columns specified must match the names and number of columns in the 
> {{SELECT}}  part. This feature is equivalent to the {{INSERT INTO}}  
> statement.



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

Reply via email to