[
https://issues.apache.org/jira/browse/FLINK-29355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609411#comment-17609411
]
Martijn Visser commented on FLINK-29355:
----------------------------------------
What happens if backticks ` are provided, since `catalog` is a reserved keyword
per
https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sql/overview/
> Sql parse failed because of Desc catalog.database.table is incorrectly parsed
> to desc catalog
> ----------------------------------------------------------------------------------------------
>
> Key: FLINK-29355
> URL: https://issues.apache.org/jira/browse/FLINK-29355
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 1.17.0
> Reporter: Yunhong Zheng
> Priority: Major
> Fix For: 1.17.0
>
>
> If user names the CATALOG he uses as ‘catalog’, and he tries to desc table
> using syntax 'describe catalog.testDatabase.testTable'. This statement will
> be incorrectly parsed to 'DESC CATALOG' instead of 'DESC TABLE' .
> !image-2022-09-20-20-00-19-478.png|width=592,height=187!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)