yanghua commented on a change in pull request #1968:
URL: https://github.com/apache/hudi/pull/1968#discussion_r495515127
##########
File path:
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java
##########
@@ -336,6 +337,22 @@ public boolean doesTableExist(String tableName) {
}
}
+ /**
+ * @param databaseName
+ * @return true if the configured database exists
+ */
+ public boolean doesDataBaseExist(String databaseName) {
Review comment:
It's an open topic. IMHO, `checkDatabaseExist` is a better method name.
WDYT?
----------------------------------------------------------------
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:
[email protected]