You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/08/23 18:37:00 UTC
[jira] [Updated] (FLINK-35709) Allow reordering source column names in CTAS / RTAS
[ https://issues.apache.org/jira/browse/FLINK-35709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-35709:
-----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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)