From 57626f266a485dbd444e282ba85b31c5d69d959f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Roqu=C3=A9=20Paniagua?= Date: Tue, 1 Apr 2025 06:51:40 +0000 Subject: [PATCH] Merged PR 4864: Removes incrementality in booking view to service # Description Removes incrementality in booking view to service # Checklist - [X] The edited models and dependants run properly with production data. - [ ] The edited models are sufficiently documented. - [X] The edited models contain PK tests, and I've ran and passed them. - [ ] I have checked for DRY opportunities with other models and docs. - [ ] I've picked the right materialization for the affected models. # Other - [X] Check if a full-refresh is required after this PR is merged. --- models/staging/core/stg_core__booking_view_to_service.sql | 6 ------ 1 file changed, 6 deletions(-) diff --git a/models/staging/core/stg_core__booking_view_to_service.sql b/models/staging/core/stg_core__booking_view_to_service.sql index 8032a83..8aeeb36 100644 --- a/models/staging/core/stg_core__booking_view_to_service.sql +++ b/models/staging/core/stg_core__booking_view_to_service.sql @@ -1,4 +1,3 @@ -{{ config(materialized="incremental", unique_key="id_booking_view_to_service") }} with raw_booking_view_to_service as ( select * from {{ source("core", "BookingViewToService") }} @@ -26,8 +25,3 @@ with ) select * from stg_core__booking_view_to_service -{% if is_incremental() %} - where - updated_at_utc - >= ((select max(updated_at_utc) from {{ this }}) - interval '7 days') -{% endif %}