[
https://issues.apache.org/jira/browse/AIRFLOW-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16819189#comment-16819189
]
ASF subversion and git services commented on AIRFLOW-4163:
----------------------------------------------------------
Commit a3265cc8bee81d2803b8f5c88dcbd95c6e9f6618 in airflow's branch
refs/heads/v1-10-stable from Chao-Han Tsai
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=a3265cc ]
[AIRFLOW-4163] IntervalCheckOperator supports relative diff and not ignore 0
(#4983)
> IntervalCheckOperator support relative difference ratio and can ignore zero
> ----------------------------------------------------------------------------
>
> Key: AIRFLOW-4163
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4163
> Project: Apache Airflow
> Issue Type: Bug
> Reporter: Chao-Han Tsai
> Assignee: Chao-Han Tsai
> Priority: Major
> Fix For: 2.0.0
>
>
> - IntervalCheckOperator takes max/min ratio of two values for a metric and
> returns true if it is less than threshold. Currently if one of the values is
> 0, it assigns the ratio as None. In python comparison None < Number is always
> true. We should add an option to fail the task if one of the value is 0.
> - Currently it only supports Max/Min. It would be useful to support
> calculating ratio with relative difference.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)