[
https://issues.apache.org/jira/browse/FLINK-25369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yubin Li updated FLINK-25369:
-----------------------------
Description:
table list like this:
{code:java}
//catalog c1, database d1
t1
//current catalog c2, current database d2
t2{code}
CatalogManager.listTables(c1, d1) should return t1,
in fact return t2, the result combine the tables in current database and the
temporay tables in given database, it's probably meaningless
was:
table list like this:
{code:java}
//catalog c1, database d1
t1
//current catalog c2, current database d2
t2{code}
CatalogManager.listTables(c1, d1) should return t1,
in fact return t2, the result combine the tables in current database and the
temporay tables in given database, it's probably meaningless
when I implement `SHOW TABLES FROM c1.d1` syntax, I found the issue.
> CatalogManager provide wrong tables or views in given catalog database name
> ---------------------------------------------------------------------------
>
> Key: FLINK-25369
> URL: https://issues.apache.org/jira/browse/FLINK-25369
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.14.2
> Reporter: Yubin Li
> Priority: Major
> Labels: pull-request-available
>
> table list like this:
> {code:java}
> //catalog c1, database d1
> t1
> //current catalog c2, current database d2
> t2{code}
> CatalogManager.listTables(c1, d1) should return t1,
> in fact return t2, the result combine the tables in current database and the
> temporay tables in given database, it's probably meaningless
--
This message was sent by Atlassian Jira
(v8.20.1#820001)