XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Allow a schema definition on RTAS statements.

      For following syntax should be allowed:

      [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] ]

      The behavior is similar to the CTAS statement (see https://issues.apache.org/jira/browse/FLINK-35707)

      Attachments

        Issue Links

          Activity

            People

              spena Sergio Peña
              spena Sergio Peña
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: