Sakshi Bansal created AIRFLOW-2228:
--------------------------------------
Summary: Enhancements in ValueCheck operator
Key: AIRFLOW-2228
URL: https://issues.apache.org/jira/browse/AIRFLOW-2228
Project: Apache Airflow
Issue Type: Improvement
Reporter: Sakshi Bansal
Assignee: Sakshi Bansal
1. Allow tolerance to take on a value of 1. This is important to define a range
of values the results can take on.
Modify the condition r / (1 + self.tol) <= self.pass_value <= r / (1 -
self.tol) in ValueCheck operator
2. Modify pass_value to be a template field, so that it's value can be
determined at the runtime. Convert the pass_value to float if possible in the
execute method itself, after the template has been rendered.
3. Add the tolerance value in the airflow exception. This gives an idea about
the allowed range for the resultant records.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)