Sergio Peña created FLINK-35709:
-----------------------------------

             Summary: 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


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