Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7594 Add a SQL client
  3. FLINK-15026

Support database DDLs in SQL CLI

    XMLWordPrintableJSON

Details

    Description

      Support DDL as following:

      CREATE DATABASE [ IF NOT EXISTS ] [ catalogName.] dataBaseName [ COMMENT database_comment ] [WITH ( name=value [, name=value]*)]
      
      DROP DATABASE [ IF EXISTS ] [ catalogName.] dataBaseName [ (RESTRICT|CASCADE)]
      
      ALTER DATABASE [ catalogName.] dataBaseName SET ( name=value [, name=value]*)
      
      USE [ catalogName.] dataBaseName
      

      Attachments

        Issue Links

          Activity

            People

              Terry1897 Terry Wang
              danny0405 Danny Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m