[
https://issues.apache.org/jira/browse/FLINK-17941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Li updated FLINK-17941:
---------------------------
Description:
To reproduce:
{noforamt}
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
{noformat}
> Switching database doesn't work from SQL CLI
> --------------------------------------------
>
> Key: FLINK-17941
> URL: https://issues.apache.org/jira/browse/FLINK-17941
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Client
> Reporter: Rui Li
> Priority: Blocker
> Fix For: 1.11.0
>
>
> To reproduce:
> {noforamt}
> 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
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)