You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "jocean.shi (Jira)" <ji...@apache.org> on 2021/09/03 07:23:00 UTC
[jira] [Created] (FLINK-24141) table can't have the same name with
database or catalog
jocean.shi created FLINK-24141:
----------------------------------
Summary: table can't have the same name with database or catalog
Key: FLINK-24141
URL: https://issues.apache.org/jira/browse/FLINK-24141
Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Affects Versions: 1.12.0, 1.11.0, 1.10.0
Reporter: jocean.shi
I have a catalog named "a" and a database named "b" and a table named "b". when I want to use other table named "c" through "b.c" then in fact is used table "b".
because the "a"."b" is the first defaultSchema in the FlinkCalciteCatalogReader
. we need set empty is the first defaultSchema
--
This message was sent by Atlassian Jira
(v8.3.4#803005)