Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-17941

Switching catalog or database doesn't work from SQL CLI

    XMLWordPrintableJSON

Details

    Description

      To reproduce:

      Flink SQL> create database db1;
      [INFO] Database has been created.
      
      Flink SQL> use db1;
      [ERROR] Could not execute SQL statement. Reason:
      org.apache.flink.table.catalog.exceptions.CatalogException: A database with name [`myhive`.`db1`] does not exist in the catalog: [myhive].
      
      Flink SQL> show databases;
      db1
      default
      

      Attachments

        Issue Links

          Activity

            People

              lirui Rui Li
              lirui Rui Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: