[ 
https://issues.apache.org/jira/browse/FLINK-15859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Chen updated FLINK-15859:
-------------------------------
    Fix Version/s:     (was: 1.11.0)
                   1.12.0

> Unify identifiers in the interface methods of CatalogManager
> ------------------------------------------------------------
>
>                 Key: FLINK-15859
>                 URL: https://issues.apache.org/jira/browse/FLINK-15859
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>            Reporter: Dawid Wysakowicz
>            Priority: Major
>             Fix For: 1.12.0
>
>
> We're not being too consistent with the type of identifier that the 
> FunctionCatalog/CatalogManager accepts.
> Some methods accept {{UnresolvedIdentifier}} e.g. 
> {{FunctionCatalog#registerTemporaryCatalogFunction}}, 
> {{CatalogManager#dropTemporaryView}}. 
> Some resolved {{ObjectIdentifier}} e.g. 
> {{CatalogManager#createTemporaryTable}}, {{CatalogManager#createTable}}.
> I am not sure which one should we prefer. If we go with the 
> {{UnresolvedIdentifier}} the benefit is that we always qualify it in a 
> {{Catalog*}}. The downside is that we would use {{UnresolvedIdentifier}} in 
> {{*Operations}}, (e.g. {{CreateTableOperation}} etc.), whereas we said that 
> all Operations should be fully resolved...



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

Reply via email to