Sergio Peña created FLINK-35708: ----------------------------------- Summary: Allow defining a schema in REPLACE TABLE AS (RTAS) Key: FLINK-35708 URL: https://issues.apache.org/jira/browse/FLINK-35708 Project: Flink Issue Type: Sub-task Reporter: Sergio Peña
Allow a schema definition on RTAS statements. For following syntax should be allowed: {noformat} [CREATE OR] REPLACE TABLE table_name [( { <schema_definition> } )] WITH (table_properties)AS SELECT query_expression; <schema_definition>: [ <column_definition>[, ...n] ], [ <watermark_definition> ], [ <table_constraint>[, ...n] ]{noformat} The behavior is similar to the CTAS statement (see https://issues.apache.org/jira/browse/FLINK-35707) -- This message was sent by Atlassian Jira (v8.20.10#820010)