You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2020/05/26 12:11:00 UTC
[jira] [Assigned] (FLINK-17941) Switching database doesn't work
from SQL CLI
[ https://issues.apache.org/jira/browse/FLINK-17941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingsong Lee reassigned FLINK-17941:
------------------------------------
Assignee: Rui Li
> 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
> Assignee: Rui Li
> Priority: Blocker
> Fix For: 1.11.0
>
>
> To reproduce:
> {noformat}
> 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)