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

Kishen Das resolved HIVE-22018.
-------------------------------
    Resolution: Duplicate

This was done part of https://issues.apache.org/jira/browse/HIVE-22017 . 

> [ Interface changes ] Add table id to HMS get methods
> -----------------------------------------------------
>
>                 Key: HIVE-22018
>                 URL: https://issues.apache.org/jira/browse/HIVE-22018
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Daniel Dai
>            Assignee: Kishen Das
>            Priority: Major
>
> It is possible we remove a table and immediately move another table to occupy 
> the same name. CachedStore may retrieve the wrong table in this case. We 
> shall add tableid in every get_(table/partition) api, so we can compare the 
> one stored in TBLS (tableid is part of Table object) and check if the same 
> id, if not, HMS shall fail the read request. The initial table id can be 
> retrieved along with writeid (in DbTxnManager.getValidWriteIds call, to join 
> the TBLS table)



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

Reply via email to