[ https://issues.apache.org/jira/browse/HIVE-21077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744545#comment-16744545 ]
Vihang Karajgaonkar commented on HIVE-21077: -------------------------------------------- I actually reverted the v8 patch from the master since I wanted to include the schema changes for 3.2.0 release as well. In order to keep master in sync, the v9 patch makes changes to both the hive-schema-3.2.0* and hive-schema-4.0.0* files. Also, the upgrade scripts from 3.1.0-to-3.2.0 are modified so that we port this patch to branch-3 as well. [~bharos92] Can you please take a look again? There is no code change involved since last patch. The only additional change over v8 is schema changes are applied to 3.2.0 files as well and the upgrade logic is moved to 3.1.0-to-3.2.0 files. > Database and catalogs should have creation time > ----------------------------------------------- > > Key: HIVE-21077 > URL: https://issues.apache.org/jira/browse/HIVE-21077 > Project: Hive > Issue Type: Improvement > Components: Standalone Metastore > Reporter: Vihang Karajgaonkar > Assignee: Vihang Karajgaonkar > Priority: Major > Attachments: HIVE-21077.01.patch, HIVE-21077.02.patch, > HIVE-21077.03.patch, HIVE-21077.04.patch, HIVE-21077.05.patch, > HIVE-21077.06.patch, HIVE-21077.07.patch, HIVE-21077.08.branch-3.patch, > HIVE-21077.09.patch > > > Currently, database do not have creation time like we have for tables and > partitions. > {noformat} > // namespace for tables > struct Database { > 1: string name, > 2: string description, > 3: string locationUri, > 4: map<string, string> parameters, // properties associated with the > database > 5: optional PrincipalPrivilegeSet privileges, > 6: optional string ownerName, > 7: optional PrincipalType ownerType, > 8: optional string catalogName > } > {noformat} > Currently, without creationTime there is no way to identify if the copy of > Database which a client has is the same as the one on the server if the name > is same. Without object ids creationTime value is the only way currently to > identify uniquely a instance of metastore object. It would be good to have > Database creation time as well. > Same applies for catalogs as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)