data-dwh-dbt-project/models/staging/resolutions
Oriol Roqué Paniagua 8bc525e4c2 Merged PR 5589: Limits data test coverage on resolutions data
# Description

This relates to the data alerts on resolutions models.

We have one incident status that refers to the record having missing information. The record that is currently triggering this alerts is indeed tagged as such.

The idea is to:
* Create a new boolean that flags if the incident has missing information. This is propagated stg to reporting.
* Apply a where clause to any existing data alert that might be susceptible to fail due to not having enough quality, in staging and reporting.
* Remove over coverage in intermediate since it's already happening in reporting. However we keep a few not-null tests and the PK on critical information (i.e., id_booking).

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [NA] I have checked for DRY opportunities with other models and docs.
- [NA] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #31668
2025-07-01 09:44:54 +00:00
..
_resolutions_sources.yml Staging model for resolution incidents 2025-02-21 15:25:24 +01:00
schema.yml Merged PR 5589: Limits data test coverage on resolutions data 2025-07-01 09:44:54 +00:00
stg_resolutions__incidents.sql Merged PR 5589: Limits data test coverage on resolutions data 2025-07-01 09:44:54 +00:00