[
https://issues.apache.org/jira/browse/HIVE-19576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Gates updated HIVE-19576:
------------------------------
Attachment: HIVE-19576.1take3.patch
> IHMSHandler.getTable not always fetching the right catalog
> ----------------------------------------------------------
>
> Key: HIVE-19576
> URL: https://issues.apache.org/jira/browse/HIVE-19576
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 3.0.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Major
> Fix For: 3.0.1
>
> Attachments: HIVE-19576.1take2.patch, HIVE-19576.1take3.patch,
> HIVE-19576.patch
>
>
> {{IHMSHandler.get_table_core(String dbName, String tableName)}} fetches the
> catalog name from the conf. This causes issues when doing an operation where
> the catalog is known and does not match the default provided in the
> configuration file (e.g. adding a partition). This method should be removed
> and callers forced to use {{IHMSHandler.get_table_core(String catName, String
> dbName, String tableName)}} instead since callers will know whether they have
> the catalog name or not.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)