data-dwh-dbt-project/models/intermediate
Pablo Martin 92b144d78e Merged PR 5357: Adapt vr_check_in_cover model for Guest Products
# Description

This PR prepares the existing `int_core__vr_check_in_cover` model for the activation of the Guest Products feature flag.

It creates a second logic path which identifies VRs that have CIH in them ~~through product bundles~~ through looking at `stg_core__verification_request_to_guest_product `, and unions it with the old stuff.

The new CTE only gets called after the FF gets activated. This is defined in a var that we will need to adjust depending on when do we really activate the FF.

Note that these items are still pending:
- update the var to the right value once Lawrence pulls the trigger.
- clarify what the hell happens with CIH being "pushed" or not to ALL old dash hosts. This PR currently assumes this will NOT happen. If it will happen, we will need to change things.

# 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: #30165
2025-06-02 14:22:58 +00:00
..
athena Merged PR 5047: First API unified version of Verifications 2025-04-24 12:21:50 +00:00
check_in_hero adding id_deal to api models 2025-03-19 09:23:23 +01:00
core Merged PR 5357: Adapt vr_check_in_cover model for Guest Products 2025-06-02 14:22:58 +00:00
cross Merged PR 5353: Switch int_core__booking_summary to int_booking_summary 2025-05-30 12:51:10 +00:00
edeposit Addressed comments 2025-03-19 12:06:05 +01:00
hubspot Merged PR 5256: Reporting version of New Dash Onboarding 2025-05-19 15:41:48 +00:00
kpis Merged PR 5353: Switch int_core__booking_summary to int_booking_summary 2025-05-30 12:51:10 +00:00
resolutions Calculator changes 2025-02-28 12:19:24 +01:00
screen_and_protect adding id_deal to api models 2025-03-19 09:23:23 +01:00
xero Host Resolution model for report 2025-04-29 11:43:38 +02:00