...
Thrift API will remain backward compatible for external table. That is, new server can deal with old client. If the old client issue a create_table call, server side will receive the request of create_table with validWriteIdList=null, and will cache or retrieve the entry regardless. For managed table, validWriteIdList will be required and HMS server will throw an exception if validWriteIdList=null (for both read and write).
hive_metastore.thriftOld API | New API |
create_table(Table tbl) | create_table(Table tbl,string validWriteIdList) |
get_table(string dbname,string tbl_name) | get_table(string dbname,string tbl_name,string validWriteIdList) |
...