You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/02/02 00:28:26 UTC

[GitHub] [hive] vihangk1 opened a new pull request #1935: HIVE-23785: Databases, Catalogs and Partitions should have unique id

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] github-actions[bot] commented on pull request #1935: HIVE-23785: Databases, Catalogs and Partitions should have unique id

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #1935:
URL: https://github.com/apache/hive/pull/1935#issuecomment-855489326


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] github-actions[bot] closed pull request #1935: HIVE-23785: Databases, Catalogs and Partitions should have unique id

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #1935:
URL: https://github.com/apache/hive/pull/1935


   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org