Support custom test name in Slack alerts
Since dbt 1.1 custom names for tests are supported. Config looks like this:
tests:
- name: unexpected_order_status # custom name for test
test_name: accepted_values # name of the generic test to apply
However, we don't use the right field in the alerts to show this name.
The change:
- Check if we collect this field in dbt_package elementary_test_restults table. If not - add it.
- Make alerts use that field as test name if it exists.
This is the similar issue for the report: https://github.com/elementary-data/elementary/issues/299
https://github.com/elementary-data/dbt-data-reliability/pull/99
This issue is stale because it has been open for too long with no activity. If you would like the issue to remain open, please remove the stale label or leave a comment.
Duplicate as #299 https://github.com/elementary-data/elementary/issues/299