dengzhhu653 commented on code in PR #3599:
URL: https://github.com/apache/hive/pull/3599#discussion_r1211238449


##########
standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift:
##########
@@ -2486,19 +2532,24 @@ service ThriftHiveMetastore extends 
fb303.FacebookService
   void drop_catalog(1: DropCatalogRequest catName) throws 
(1:NoSuchObjectException o1, 2:InvalidOperationException o2, 3:MetaException o3)
 
   void create_database(1:Database database) throws(1:AlreadyExistsException 
o1, 2:InvalidObjectException o2, 3:MetaException o3)
+  void create_database_req(1:CreateDatabaseRequest createDatabaseRequest) 
throws(1:AlreadyExistsException o1, 2:InvalidObjectException o2, 
3:MetaException o3)
   Database get_database(1:string name) throws(1:NoSuchObjectException o1, 
2:MetaException o2)
   Database get_database_req(1:GetDatabaseRequest request) 
throws(1:NoSuchObjectException o1, 2:MetaException o2)
   void drop_database(1:string name, 2:bool deleteData, 3:bool cascade) 
throws(1:NoSuchObjectException o1, 2:InvalidOperationException o2, 
3:MetaException o3)
   void drop_database_req(1:DropDatabaseRequest req) 
throws(1:NoSuchObjectException o1, 2:InvalidOperationException o2, 
3:MetaException o3)
   list<string> get_databases(1:string pattern) throws(1:MetaException o1)
   list<string> get_all_databases() throws(1:MetaException o1)
   void alter_database(1:string dbname, 2:Database db) throws(1:MetaException 
o1, 2:NoSuchObjectException o2)
+  void alter_database_req(1:AlterDatabaseRequest alterDbReq) 
throws(1:MetaException o1, 2:NoSuchObjectException o2)
 
   void create_dataconnector(1:DataConnector connector) 
throws(1:AlreadyExistsException o1, 2:InvalidObjectException o2, 
3:MetaException o3)
+  void create_dataconnector_req(1:CreateDataConnectorRequest connectorReq) 
throws(1:AlreadyExistsException o1, 2:InvalidObjectException o2, 
3:MetaException o3)
   DataConnector get_dataconnector_req(1:GetDataConnectorRequest request) 
throws(1:NoSuchObjectException o1, 2:MetaException o2)
   void drop_dataconnector(1:string name, 2:bool ifNotExists, 3:bool 
checkReferences) throws(1:NoSuchObjectException o1, 2:InvalidOperationException 
o2, 3:MetaException o3)

Review Comment:
   The `drop_dataconnector` is introduced after 4.0.0-alpha-1, if we do not use 
it heavily, then I think we can just remove it.



-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

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

Reply via email to