remove explicit version reference, rely on latest
This commit is contained in:
parent
da3070949a
commit
0312a1ccd8
7 changed files with 7 additions and 7 deletions
|
|
@ -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") }}
|
||||
|
|
|
|||
|
|
@ -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") }}),
|
||||
|
|
|
|||
|
|
@ -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") }}),
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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") }}
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue