[
https://issues.apache.org/jira/browse/FLINK-13195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16958635#comment-16958635
]
Zheng Hu commented on FLINK-13195:
----------------------------------
Another question which is related to the previous comment : for each sql
command such as select/show tables .. etc, we will initialize a new
EnvironmentInstance which is built by ExecutionContext and in the
EnvironmentInstance, the sql client will register catalog & tables for the
newly created tableEnv, while if we try to define the tables under the
non-default catalog , then the multiple table regisration will cause the
table exist conflicts. On the other hand, for each sql command, we will
create a new default catalog in catalog manager , so if we create a table under
the default catalog, then we won't see the created table when we show tables
because it create a new default catalog now, that's a bug and should be fix.
> Add create table support for SqlClient
> --------------------------------------
>
> Key: FLINK-13195
> URL: https://issues.apache.org/jira/browse/FLINK-13195
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Client
> Affects Versions: 1.9.0
> Reporter: Danny Chen
> Assignee: Zheng Hu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)