[
https://issues.apache.org/jira/browse/FLINK-10420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321560#comment-17321560
]
Flink Jira Bot commented on FLINK-10420:
----------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> Create and drop view in sql client should check the view created based on the
> configuration.
> --------------------------------------------------------------------------------------------
>
> Key: FLINK-10420
> URL: https://issues.apache.org/jira/browse/FLINK-10420
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Client
> Reporter: vinoyang
> Assignee: vinoyang
> Priority: Minor
> Labels: stale-minor
>
> Currently, just checked current session :
> {code:java}
> private void callCreateView(SqlCommandCall cmdCall) {
> final String name = cmdCall.operands[0];
> final String query = cmdCall.operands[1];
> //here
> final String previousQuery = context.getViews().get(name);
> if (previousQuery != null) {
> printExecutionError(CliStrings.MESSAGE_VIEW_ALREADY_EXISTS);
> return;
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)