[jira] [Created] (FLINK-18055) Catalog does not exist in SQL Client

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18055) Catalog does not exist in SQL Client

Shang Yuanchun (Jira)
godfrey he created FLINK-18055:
----------------------------------

             Summary: Catalog does not exist in SQL Client
                 Key: FLINK-18055
                 URL: https://issues.apache.org/jira/browse/FLINK-18055
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Client
    Affects Versions: 1.11.0
            Reporter: godfrey he


Flink SQL> show catalogs;
default_catalog
hive

Flink SQL> use  catalog hive;
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.table.catalog.exceptions.CatalogException: A catalog with name [`hive`] does not exist.


The reason is {{SqlCommandParser}} adds {{``}} for catalog name, which is unnecessary.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)