Fixed test error
This commit is contained in:
parent
560e2a5994
commit
c24c875336
1 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ with
|
||||||
int_edeposit__verifications as (
|
int_edeposit__verifications as (
|
||||||
select * from {{ ref("int_edeposit__verifications") }}
|
select * from {{ ref("int_edeposit__verifications") }}
|
||||||
),
|
),
|
||||||
stg_core__edeposit_users as (select * from {{ ref("stg_core__edeposit_users") }}),
|
stg_core__edeposit_user as (select * from {{ ref("stg_core__edeposit_user") }}),
|
||||||
stg_xedotcom__exchange_rates as (
|
stg_xedotcom__exchange_rates as (
|
||||||
select * from {{ ref("stg_xedotcom__exchange_rates") }}
|
select * from {{ ref("stg_xedotcom__exchange_rates") }}
|
||||||
),
|
),
|
||||||
|
|
@ -16,7 +16,7 @@ with
|
||||||
v.id_verification,
|
v.id_verification,
|
||||||
v.id_user_partner,
|
v.id_user_partner,
|
||||||
v.id_booking,
|
v.id_booking,
|
||||||
v.currency,
|
eu.currency,
|
||||||
er.rate,
|
er.rate,
|
||||||
v.is_cancelled,
|
v.is_cancelled,
|
||||||
v.creation_at_utc,
|
v.creation_at_utc,
|
||||||
|
|
@ -42,7 +42,7 @@ with
|
||||||
end as rejected_fee_in_gbp,
|
end as rejected_fee_in_gbp,
|
||||||
to_char(v.checkout_at_utc, 'YYYY-MM') as year_month_checkout
|
to_char(v.checkout_at_utc, 'YYYY-MM') as year_month_checkout
|
||||||
from int_edeposit__verifications v
|
from int_edeposit__verifications v
|
||||||
inner join stg_core__edeposit_users eu on v.id_user_partner = eu.id_user_partner
|
inner join stg_core__edeposit_user eu on v.id_user_partner = eu.id_user_partner
|
||||||
inner join
|
inner join
|
||||||
stg_xedotcom__exchange_rates er
|
stg_xedotcom__exchange_rates er
|
||||||
on er.from_currency = eu.currency
|
on er.from_currency = eu.currency
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue