XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • None
    • Table SQL / API

    Description

      FLINK-10163 added initial view support for the SQL Client. However, for supporting the full definition of views (with schema, comments, etc.) we need to support native support for views in the Table API.

      CREATE VIEW [IF NOT EXISTS] [catalog_name.db_name.]view_name [COMMENT comment] AS SELECT ....;
      DROP VIEW[IF EXISTS] [catalog_name.db_name.]view_name;
      ALTER VIEW [IF EXISTS] [catalog_name.db_name.]view_name AS SELECT ....;
      ALTER VIEW [IF EXISTS] [catalog_name.db_name.]view_name RENAME TO ....;
      ALTER VIEW [IF EXISTS] [catalog_name.db_name.]view_name SET COMMENT =  ....;
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              twalthr Timo Walther
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: