[ https://issues.apache.org/jira/browse/FLINK-20977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301717#comment-17301717 ]
Marta Paes Moreira commented on FLINK-20977: -------------------------------------------- +1, ran into a similar issue trying to use the Pulsar catalog (Flink 1.12): {code:java} ... [INFO] Catalog has been created. Flink SQL> USE CATALOG pulsar; Flink SQL> SHOW DATABASES; public/default public/functions sample/standalone/ns1 Flink SQL> USE `public/default`; [ERROR] Could not execute SQL statement. Reason: org.apache.flink.sql.parser.impl.ParseException: Encountered "/" at line 1, column 11. Was expecting one of: <EOF> "." ...{code} Before finding the ticket, I tried a couple of escape sequences to see if there was a workaround, with no luck. > USE DATABASE & USE CATALOG fails with quoted identifiers containing > characters to be escaped in Flink SQL client > ---------------------------------------------------------------------------------------------------------------- > > Key: FLINK-20977 > URL: https://issues.apache.org/jira/browse/FLINK-20977 > Project: Flink > Issue Type: Bug > Components: Table SQL / Client > Affects Versions: 1.12.0 > Reporter: Jun Zhang > Priority: Major > Labels: pull-request-available > Fix For: 1.13.0, 1.12.3 > > > I have a database which name is mod, when I use `use mod` to switch to the > db,the system throw an exception, I surround it with backticks ,it is still > not well -- This message was sent by Atlassian Jira (v8.3.4#803005)