remove explicit version reference, rely on latest

This commit is contained in:
Pablo Martin 2024-09-12 15:00:58 +02:00
parent da3070949a
commit 0312a1ccd8
7 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
with
int_core__verification_payments as (
select * from {{ ref("int_core__verification_payments", version=1) }}
select * from {{ ref("int_core__verification_payments") }}
),
stg_core__guest_satisfaction_responses as (
select * from {{ ref("stg_core__guest_satisfaction_responses") }}

View file

@ -9,7 +9,7 @@ with
select * from {{ ref("int_core__verification_requests") }}
),
int_core__verification_payments as (
select * from {{ ref("int_core__verification_payments", version=1) }}
select * from {{ ref("int_core__verification_payments") }}
),
int_dates_by_deal as (select * from {{ ref("int_dates_by_deal") }}),
int_core__unified_user as (select * from {{ ref("int_core__unified_user") }}),

View file

@ -13,7 +13,7 @@ with
select * from {{ ref("int_core__verification_requests") }}
),
int_core__verification_payments as (
select * from {{ ref("int_core__verification_payments", version=1) }}
select * from {{ ref("int_core__verification_payments") }}
),
int_dates_by_deal as (select * from {{ ref("int_dates_by_deal") }}),
int_core__unified_user as (select * from {{ ref("int_core__unified_user") }}),

View file

@ -11,7 +11,7 @@ with
select * from {{ ref("int_core__verification_requests") }}
),
int_core__verification_payments as (
select * from {{ ref("int_core__verification_payments", version=1) }}
select * from {{ ref("int_core__verification_payments") }}
),
int_core__user_host as (select * from {{ ref("int_core__user_host") }}),
int_core__mtd_accommodation_segmentation as (

View file

@ -11,7 +11,7 @@ This model provides Month-To-Date (MTD) based on Guest Revenue metrics.
{{ config(materialized="table", unique_key=["date", "dimension", "dimension_value"]) }}
with
int_core__verification_payments as (
select * from {{ ref("int_core__verification_payments", version=1) }}
select * from {{ ref("int_core__verification_payments") }}
),
int_core__verification_requests as (
select * from {{ ref("int_core__verification_requests") }}

View file

@ -18,7 +18,7 @@ with
amount_in_gbp,
payment_status,
payment_paid_date_utc
from {{ ref("int_core__verification_payments", version=1) }}
from {{ ref("int_core__verification_payments") }}
where
verification_payment_type = 'CheckInCover' -- 5 is check-in cover
and payment_status in ('Paid', 'Refunded')

View file

@ -1,6 +1,6 @@
with
int_core__verification_payments as (
select * from {{ ref("int_core__verification_payments", version=1) }}
select * from {{ ref("int_core__verification_payments") }}
)
select
vp.id_verification_to_payment as id_verification_to_payment,