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

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

                Author: ASF GitHub Bot
            Created on: 31/Jul/25 08:02
            Start Date: 31/Jul/25 08:02
    Worklog Time Spent: 10m 
      Work Description: vsinghal85 commented on code in PR #4113:
URL: https://github.com/apache/gobblin/pull/4113#discussion_r2244656168


##########
gobblin-core/src/main/java/org/apache/gobblin/qualitychecker/task/TaskLevelPolicyChecker.java:
##########
@@ -28,20 +29,13 @@
  * executes each one, and then stores the output
  * in a PolicyCheckResults object
  */
+@Getter
 public class TaskLevelPolicyChecker {
-  /**
-   * An enumeration for possible statuses for Data quality checks,
-   * its values will be PASSED, FAILED, in case if data quality check
-   * evaluation is not performed for Job, it will be NOT_EVALUATED
-   */
-  public enum DataQualityStatus {
-    PASSED,
-    FAILED,
-    NOT_EVALUATED
-  }
   private final List<TaskLevelPolicy> list;
   private static final Logger LOG = 
LoggerFactory.getLogger(TaskLevelPolicyChecker.class);
 
+  public static final String TASK_LEVEL_POLICY_RESULT_KEY = 
"gobblin.task.level.policy.result";

Review Comment:
   We will not be rolling out any policy with Policy type as OPTIONAL, as it 
eventually does not serve an purpose, map will only have atmost two entries. 
   ('PASSED' -> 'FAIL')
   (FAILED' -> 'FAIL')
   if any policy is failing an entry would be created for FAILED and overall 
fork data quality check would fail.





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

    Worklog Id:     (was: 977056)
    Time Spent: 2h  (was: 1h 50m)

> FileSize Data Quality implementation for FileBasedCopy
> ------------------------------------------------------
>
>                 Key: GOBBLIN-2204
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2204
>             Project: Apache Gobblin
>          Issue Type: Task
>            Reporter: Vaibhav Singhal
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>




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

Reply via email to