vihangk1 opened a new pull request #1935: URL: https://github.com/apache/hive/pull/1935
### What changes were proposed in this pull request? This changes exposes a id field to Database, Catalog and Partition thrift objects. The id was always present internally in the metastore but now we start exposing it in the thrift interface. This could be very useful to unique identify a table or database. For example, a database which is dropped and recreated with the same name, will have a different id. Id field is already present in the table objects. This PR adds them to Database, Partition and Catalogs as well. ### Why are the changes needed? This is a enhancement which could be useful for clients who want to know if the object they have is same as the table which is present in the metastore. Currently, if another client drops and recreates the object with the same name, there is no way of the client to know the difference. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Modified existing tests which assert that id is present in the Database, Catalog and Partitions. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org