data-dwh-dbt-project/models
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
..
intermediate Merged PR 5357: Adapt vr_check_in_cover model for Guest Products 2025-06-02 14:22:58 +00:00
reporting Merged PR 5353: Switch int_core__booking_summary to int_booking_summary 2025-05-30 12:51:10 +00:00
staging Merged PR 5281: First version of stg_core__user_product_bundle_to_guest_product 2025-05-22 08:15:26 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00