You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chao-Han Tsai (JIRA)" <ji...@apache.org> on 2019/03/26 20:15:00 UTC

[jira] [Created] (AIRFLOW-4163) IntervalCheckOperator comparison doesn't work for null values

Chao-Han Tsai created AIRFLOW-4163:
--------------------------------------

             Summary:  IntervalCheckOperator comparison doesn't work for null values
                 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


IntervalCheckOperator takes max/min ratio of two values for a metric and returns true if it is less than threshold.

The bug is if one of the values is 0, it assigns the ratio as None. In python comparison None < Number is always true. We should change that to fail the test



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)