[
https://issues.apache.org/jira/browse/HIVE-22018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kishen Das updated HIVE-22018:
------------------------------
Summary: [ Interface changes ] Add table id to HMS get methods (was: Add
table id to HMS get methods)
> [ 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)