You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/10/22 09:38:00 UTC

[jira] [Commented] (FLINK-19765) flink SqlUseCatalog.getCatalogName is not unified with SqlCreateCatalog and SqlDropCatalog

    [ https://issues.apache.org/jira/browse/FLINK-19765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218900#comment-17218900 ] 

Jark Wu commented on FLINK-19765:
---------------------------------

Yes, we can improve them to just return a String. 
Btw, {{SqlUseCatalog}} ... classes are not public API, be careful to use them. It is suggested to use {{UseCatalogOperation}} instead which is located in {{flink-table-api-java}}.

> flink SqlUseCatalog.getCatalogName is not unified with SqlCreateCatalog and SqlDropCatalog
> ------------------------------------------------------------------------------------------
>
>                 Key: FLINK-19765
>                 URL: https://issues.apache.org/jira/browse/FLINK-19765
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.11.0
>            Reporter: jackylau
>            Priority: Major
>             Fix For: 1.12.0
>
>
> when i develop flink ranger plugin at operation level, i find this method not unified.
> And SqlToOperationConverter.convert needs has the good order for user to find code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)