[ 
https://issues.apache.org/jira/browse/GOBBLIN-2211?focusedWorklogId=975845&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-975845
 ]

ASF GitHub Bot logged work on GOBBLIN-2211:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Jul/25 11:23
            Start Date: 23/Jul/25 11:23
    Worklog Time Spent: 10m 
      Work Description: 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. 





Issue Time Tracking
-------------------

    Worklog Id:     (was: 975845)
    Time Spent: 4h 40m  (was: 4.5h)

> Implement Error Classification based on execution issues
> --------------------------------------------------------
>
>                 Key: GOBBLIN-2211
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2211
>             Project: Apache Gobblin
>          Issue Type: Bug
>          Components: gobblin-service
>            Reporter: Abhishek Jain
>            Assignee: Abhishek Tiwari
>            Priority: Major
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>
> Implement Error Classification to categorize the failure reason based on 
> issues encountered.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to