NamsB7 commented on code in PR #4121: URL: https://github.com/apache/gobblin/pull/4121#discussion_r2225236359
########## gobblin-metastore/src/main/java/org/apache/gobblin/metastore/MysqlErrorPatternStore.java: ########## @@ -279,64 +302,46 @@ public List<ErrorPatternProfile> getErrorPatternsByCategory(String categoryName) } @Override - public Category getDefaultCategory() + public ErrorCategory getDefaultCategory() throws IOException { - if (hasIsDefaultColumn()) { - Category cat = getDefaultCategoryFromIsDefault(); + // 1. Try to use the configured default category name if set + if (configuredDefaultCategoryName != null && !configuredDefaultCategoryName.trim().isEmpty()) { Review Comment: Used `.isBlank()` and `.isEmpty()` functionalities of StringUtils. could not find this functionality. -- 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: dev-unsubscr...@gobblin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org