You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Li (Jira)" <ji...@apache.org> on 2020/05/28 11:38:00 UTC
[jira] [Updated] (FLINK-17941) Switching catalog or database
doesn't work from SQL CLI
[ https://issues.apache.org/jira/browse/FLINK-17941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Li updated FLINK-17941:
---------------------------
Summary: Switching catalog or database doesn't work from SQL CLI (was: Switching database doesn't work from SQL CLI)
> Switching catalog or 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)