data-dwh-dbt-project/models
Oriol Roqué Paniagua 28c554de63 Merged PR 3038: Adding Protection tables in the scope of New Pricing/Dashboard
# Description

This PR creates 3 new models in staging:
- `stg_core__protection_plan`: main information of a protection plan. Here I denormalise the info coming from Protection, meaning, Protection is not a standalone model.
- `stg_core__protection_plan_to_price`: How much does a protection service cost? It's very similar to the model product_service_to_price.
- `stg_core__protection_plan_cover`: How much does a protection service protects, i.e., covers? I took the liberty of modifying the original name since it was confusing to me. Let me know if you'd like to modify the name.

# 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: #20809
2024-10-03 11:05:05 +00:00
..
intermediate Merged PR 3028: Adding int_core__user_product_bundle_contains_services 2024-10-02 14:54:03 +00:00
reporting more features into reporting 2024-10-02 10:57:30 +02:00
staging Merged PR 3038: Adding Protection tables in the scope of New Pricing/Dashboard 2024-10-03 11:05:05 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00