[
https://issues.apache.org/jira/browse/AIRFLOW-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16414390#comment-16414390
]
ASF subversion and git services commented on AIRFLOW-2228:
----------------------------------------------------------
Commit acc9a3617e7d4520bb95191c80f4d3d2e64f622d in incubator-airflow's branch
refs/heads/master from [~sakshi28]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=acc9a36 ]
[AIRFLOW-2228] Enhancements in ValueCheckOperator
Allow ValueCheckOperator to accept a tolerance of
1.
Modify pass_value to be a template field,
so that its value can be determined at runtime.
Add tolerance value in airflow exception.
This gives an idea about the allowed range for
resultant records.
Closes #3149 from sakshi2894/AIRFLOW-2228
> 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
> Priority: Major
> Fix For: 2.0.0
>
>
> 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)