[AIRFLOW-4163] IntervalCheckOperator supports relative diff#4983
Conversation
ca4f6a9 to
69daf41
Compare
8f91e08 to
01be1aa
Compare
|
@milton0825 can you rebase, this issue has been fixed on master. |
01be1aa to
a7cb809
Compare
|
will take a look. |
Codecov Report
@@ Coverage Diff @@
## master #4983 +/- ##
==========================================
+ Coverage 10.61% 75.9% +65.28%
==========================================
Files 461 461
Lines 29955 29968 +13
==========================================
+ Hits 3179 22746 +19567
+ Misses 26776 7222 -19554
Continue to review full report at Codecov.
|
|
@Fokko tests passed~ |
There was a problem hiding this comment.
do we need that many logging info lines? Let's change it to debug. WDYT?
There was a problem hiding this comment.
Correct me if I am wrong. I feel like we only turn on debug mode when there is an Airflow internal issue and we are trying to debug the Airflow internal issue.
For this case, task failure is usually caused by incorrect user behavior, e.g. wrong SQL (not related to Airflow internal), and we should provide the information users need to debug their issues.
There was a problem hiding this comment.
Ok, then could we make it a single log line(we could add \d in between) which is same as previous case?
61013b7 to
42733f5
Compare
42733f5 to
22c504b
Compare
|
lgtm, thanks @milton0825 |
#125) Make `IntervalCheckOperator` supports calculating ratio with relative difference. And also add an option to not ignore zero values in metric. Cherry picked from: apache#4983
Make sure you have checked all steps below.
Jira
Description
Make
IntervalCheckOperatorsupports calculating ratio with relative difference. And also add an option to not ignore zero values in metric.Tests
Commits
Documentation
Code Quality
flake8