You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/04 04:15:00 UTC

[jira] [Commented] (AIRFLOW-4163) IntervalCheckOperator support relative difference ratio and can ignore zero

    [ https://issues.apache.org/jira/browse/AIRFLOW-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809488#comment-16809488 ] 

ASF GitHub Bot commented on AIRFLOW-4163:
-----------------------------------------

feng-tao commented on pull request #4983: [AIRFLOW-4163] IntervalCheckOperator supports relative diff
URL: https://github.com/apache/airflow/pull/4983
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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