You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use re_data to alert specific data quality issues through email. These issues are dbt tests that we have declared and on that model we have assigned a re_data_owner. In case there is an issue with data the alert is send as expected.
Since we use the --no-send-all-good we would expect that in case there is no data quality issue, there will not be sent any email for that owner. The behavior we see is that these owners will receive an email without any test failures.
Expected behavior
In case there is no data quality issue for a re_data_owner, then we don't want to send an email.
To Reproduce
Create a very simple dbt project with one model.
Configure a single owner as re_data_owner. Make sure this owner does not own any other model.
Create a test on this model that will never fail (e.g. - dbt_utils.expression_is_true: expression: "1=1", make sure to have not any other tests on this model.
Configure re_data email setup
Run something like following code:
dbt run --select <your_model>
dbt run --select package:re_data
dbt test --select <your_model>
re_data overview generate
re_data notify email --start-date `date +%F` --end-date `date +%F` --select test --no-send-all-good
Receive empty mail.
Screenshots
Logs and additional context
If needed please specify which log file you need and I will try to create it.
The text was updated successfully, but these errors were encountered:
Describe the bug
We use re_data to alert specific data quality issues through email. These issues are dbt tests that we have declared and on that model we have assigned a re_data_owner. In case there is an issue with data the alert is send as expected.
Our script to run an alert is something like:
Since we use the
--no-send-all-good
we would expect that in case there is no data quality issue, there will not be sent any email for that owner. The behavior we see is that these owners will receive an email without any test failures.Expected behavior
In case there is no data quality issue for a re_data_owner, then we don't want to send an email.
To Reproduce
- dbt_utils.expression_is_true: expression: "1=1"
, make sure to have not any other tests on this model.Receive empty mail.
Screenshots
Logs and additional context
If needed please specify which log file you need and I will try to create it.
The text was updated successfully, but these errors were encountered: