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
|
with
|
||||||
int_core__verification_payments as (
|
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 (
|
stg_core__guest_satisfaction_responses as (
|
||||||
select * from {{ ref("stg_core__guest_satisfaction_responses") }}
|
select * from {{ ref("stg_core__guest_satisfaction_responses") }}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ with
|
||||||
select * from {{ ref("int_core__verification_requests") }}
|
select * from {{ ref("int_core__verification_requests") }}
|
||||||
),
|
),
|
||||||
int_core__verification_payments as (
|
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_dates_by_deal as (select * from {{ ref("int_dates_by_deal") }}),
|
||||||
int_core__unified_user as (select * from {{ ref("int_core__unified_user") }}),
|
int_core__unified_user as (select * from {{ ref("int_core__unified_user") }}),
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ with
|
||||||
select * from {{ ref("int_core__verification_requests") }}
|
select * from {{ ref("int_core__verification_requests") }}
|
||||||
),
|
),
|
||||||
int_core__verification_payments as (
|
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_dates_by_deal as (select * from {{ ref("int_dates_by_deal") }}),
|
||||||
int_core__unified_user as (select * from {{ ref("int_core__unified_user") }}),
|
int_core__unified_user as (select * from {{ ref("int_core__unified_user") }}),
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ with
|
||||||
select * from {{ ref("int_core__verification_requests") }}
|
select * from {{ ref("int_core__verification_requests") }}
|
||||||
),
|
),
|
||||||
int_core__verification_payments as (
|
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__user_host as (select * from {{ ref("int_core__user_host") }}),
|
||||||
int_core__mtd_accommodation_segmentation as (
|
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"]) }}
|
{{ config(materialized="table", unique_key=["date", "dimension", "dimension_value"]) }}
|
||||||
with
|
with
|
||||||
int_core__verification_payments as (
|
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 (
|
int_core__verification_requests as (
|
||||||
select * from {{ ref("int_core__verification_requests") }}
|
select * from {{ ref("int_core__verification_requests") }}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ with
|
||||||
amount_in_gbp,
|
amount_in_gbp,
|
||||||
payment_status,
|
payment_status,
|
||||||
payment_paid_date_utc
|
payment_paid_date_utc
|
||||||
from {{ ref("int_core__verification_payments", version=1) }}
|
from {{ ref("int_core__verification_payments") }}
|
||||||
where
|
where
|
||||||
verification_payment_type = 'CheckInCover' -- 5 is check-in cover
|
verification_payment_type = 'CheckInCover' -- 5 is check-in cover
|
||||||
and payment_status in ('Paid', 'Refunded')
|
and payment_status in ('Paid', 'Refunded')
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
with
|
with
|
||||||
int_core__verification_payments as (
|
int_core__verification_payments as (
|
||||||
select * from {{ ref("int_core__verification_payments", version=1) }}
|
select * from {{ ref("int_core__verification_payments") }}
|
||||||
)
|
)
|
||||||
select
|
select
|
||||||
vp.id_verification_to_payment as id_verification_to_payment,
|
vp.id_verification_to_payment as id_verification_to_payment,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue