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.
This commit is contained in:
parent
c6d8e10dd5
commit
57626f266a
1 changed files with 0 additions and 6 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
{{ config(materialized="incremental", unique_key="id_booking_view_to_service") }}
|
|
||||||
with
|
with
|
||||||
raw_booking_view_to_service as (
|
raw_booking_view_to_service as (
|
||||||
select * from {{ source("core", "BookingViewToService") }}
|
select * from {{ source("core", "BookingViewToService") }}
|
||||||
|
|
@ -26,8 +25,3 @@ with
|
||||||
)
|
)
|
||||||
select *
|
select *
|
||||||
from stg_core__booking_view_to_service
|
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 %}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue