data-dwh-dbt-project/models
Oriol Roqué Paniagua d323460d1a Merged PR 2534: Deal metrics per customer segmentation
# Description

Modifies `int_core__mtd_deal_metrics` to include the customer segmentation based on listings. `schema.yaml` is also affected including new fields and tests. Hardcoded `int_core__mtd_vs_previous_year_metrics` to avoid propagating this upwards and messing up with the data display.

Overall, follows a similar strategy as we did for Booking and Guest Journey metrics. For reference, [here's the previous PR on GJ](https://guardhog.visualstudio.com/Data/_git/data-dwh-dbt-project/pullrequest/2533).

# 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.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] 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: #19325
2024-08-09 10:03:35 +00:00
..
intermediate Merged PR 2534: Deal metrics per customer segmentation 2024-08-09 10:03:35 +00:00
reporting Fixed models for mtd_aggregated_metrics 2024-08-08 17:06:11 +02:00
staging Merged PR 2516: Create host_user and user_role in intermediate 2024-08-07 14:28:34 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00