From 47c51dd18d14bc94dacb1852548d779be6ce77c9 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 10 Jun 2025 16:35:16 +0200 Subject: [PATCH] missing filter to avoid new vrs appearing in the old cte --- models/intermediate/core/int_core__vr_check_in_cover.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/models/intermediate/core/int_core__vr_check_in_cover.sql b/models/intermediate/core/int_core__vr_check_in_cover.sql index a7b3320..15a39df 100644 --- a/models/intermediate/core/int_core__vr_check_in_cover.sql +++ b/models/intermediate/core/int_core__vr_check_in_cover.sql @@ -122,7 +122,10 @@ with -- 15 is Check-in cover. -- Adding this condition results in only keeping guest journeys that offered the -- check-in cover - where vstvt.id_verification_type = 15 + where + vstvt.id_verification_type = 15 + and vr.link_used_at_utc + < {{ var("guest_products_feature_flag_activation_timestamp") }} ), post_feature_flag_verification_requests as ( select