[ https://issues.apache.org/jira/browse/HIVE-26537?focusedWorklogId=809388&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-809388 ]
ASF GitHub Bot logged work on HIVE-26537: ----------------------------------------- Author: ASF GitHub Bot Created on: 16/Sep/22 02:38 Start Date: 16/Sep/22 02:38 Worklog Time Spent: 10m Work Description: dengzhhu653 commented on code in PR #3599: URL: https://github.com/apache/hive/pull/3599#discussion_r972559262 ########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java: ########## @@ -1363,18 +1363,62 @@ private void create_database_core(RawStore ms, final Database db) } @Override + @Deprecated public void create_database(final Database db) throws AlreadyExistsException, InvalidObjectException, MetaException { - startFunction("create_database", ": " + db.toString()); + CreateDatabaseRequest req = new CreateDatabaseRequest(db.getName()); + if (db.isSetDescription()) { Review Comment: if the description is null, it's safe to call req.setDescription(null), we need not an extra db.isSetDescription()? Issue Time Tracking ------------------- Worklog Id: (was: 809388) Time Spent: 50m (was: 40m) > Deprecate older APIs in the HMS > ------------------------------- > > Key: HIVE-26537 > URL: https://issues.apache.org/jira/browse/HIVE-26537 > Project: Hive > Issue Type: Improvement > Affects Versions: 4.0.0-alpha-1, 4.0.0-alpha-2 > Reporter: Sai Hemanth Gantasala > Assignee: Sai Hemanth Gantasala > Priority: Major > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > This Jira is to track the clean-up(deprecate older APIs and point the HMS > client to the newer APIs) work in the hive metastore server. > More details will be added here soon. -- This message was sent by Atlassian Jira (v8.20.10#820010)