elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Support custom test name in Slack alerts

Open Maayan-s opened this issue 3 years ago • 2 comments

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:

  1. Check if we collect this field in dbt_package elementary_test_restults table. If not - add it.
  2. Make alerts use that field as test name if it exists.

Maayan-s avatar Sep 04 '22 19:09 Maayan-s

This is the similar issue for the report: https://github.com/elementary-data/elementary/issues/299

Maayan-s avatar Sep 04 '22 19:09 Maayan-s

https://github.com/elementary-data/dbt-data-reliability/pull/99

Maayan-s avatar Sep 21 '22 14:09 Maayan-s

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.

github-actions[bot] avatar Nov 30 '22 02:11 github-actions[bot]

Duplicate as #299 https://github.com/elementary-data/elementary/issues/299

oravi avatar Jan 03 '23 15:01 oravi