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. -- 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