yuanoOo commented on code in PR #5013:
URL: https://github.com/apache/gravitino/pull/5013#discussion_r1778055729


##########
catalogs/catalog-jdbc-oceanbase/src/main/java/org/apache/gravitino/catalog/oceanbase/operation/OceanBaseDatabaseOperations.java:
##########
@@ -41,25 +47,56 @@ private static Set<String> 
createSysOceanBaseDatabaseNames() {
     return Collections.unmodifiableSet(set);
   }
 
-  @Override
-  public String generateCreateDatabaseSql(
-      String databaseName, String comment, Map<String, String> properties) {
-
-    throw new UnsupportedOperationException("Not implemented yet.");
-  }
-
   @Override
   public String generateDropDatabaseSql(String databaseName, boolean cascade) {
-    throw new UnsupportedOperationException("Not implemented yet.");
+    final String dropDatabaseSql = String.format("DROP DATABASE `%s`", 
databaseName);

Review Comment:
   Fixed. I also refactored 
`org.apache.gravitino.catalog.jdbc.operation.JdbcDatabaseOperations#isSystemDatabase`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to