Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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:
CREATE TABLE table_name [( col_name1 [, column_name2, ...] )] [WITH (table_properties)] AS SELECT query_expression;
The columns specified must match the names and number of columns in the SELECT part. This feature is equivalent to the INSERT INTO statement.
Attachments
Issue Links
- Dependent
-
FLINK-35707 Allow column definition in CREATE TABLE AS (CTAS)
- Closed
-
FLINK-35708 Allow defining a schema in REPLACE TABLE AS (RTAS)
- Closed
- links to