[ https://issues.apache.org/jira/browse/HIVE-20556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16750685#comment-16750685 ]
Vihang Karajgaonkar commented on HIVE-20556: -------------------------------------------- {quote} My question was more in regards of what's the contract that hive should promise: both old client works with new server and old server works with new client? {quote} Hive public interface which include thrift APIs and the ones which are annotated as {{org.apache.hadoop.hive.common.classification.InterfaceAudience.Public}} gaurantee backwards compatibility. Which means older clients should be able to talk to a newer server. Right now, we don't guarantee forward compatibility (newer clients able to talk to older server) {quote}Would this be solved by moving the id to the end of the table fields.{quote} Yes, as long as the older field ids don't change, it should be fine. Its okay to move the id to the end Thanks a lot for agreeing to fix this. > Expose an API to retrieve the TBL_ID from TBLS in the metastore tables > ---------------------------------------------------------------------- > > Key: HIVE-20556 > URL: https://issues.apache.org/jira/browse/HIVE-20556 > Project: Hive > Issue Type: New Feature > Components: Metastore, Standalone Metastore > Reporter: Jaume M > Assignee: Jaume M > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-20556.1.patch, HIVE-20556.10.patch, > HIVE-20556.11.patch, HIVE-20556.12.patch, HIVE-20556.13.patch, > HIVE-20556.14.patch, HIVE-20556.15.patch, HIVE-20556.16.patch, > HIVE-20556.17.patch, HIVE-20556.18.patch, HIVE-20556.2.patch, > HIVE-20556.3.patch, HIVE-20556.4.patch, HIVE-20556.5.patch, > HIVE-20556.6.patch, HIVE-20556.7.patch, HIVE-20556.8.patch, HIVE-20556.9.patch > > > We have two options to do this > 1) Use the current MTable and add a field for this value > 2) Add an independent API call to the metastore that would return the TBL_ID. > Option 1 is preferable. -- This message was sent by Atlassian JIRA (v7.6.3#76005)