Fixed test error

This commit is contained in:
Joaquin Ossa 2024-09-03 15:04:44 +02:00
parent 560e2a5994
commit c24c875336

View file

@ -7,7 +7,7 @@ with
int_edeposit__verifications as (
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 (
select * from {{ ref("stg_xedotcom__exchange_rates") }}
),
@ -16,7 +16,7 @@ with
v.id_verification,
v.id_user_partner,
v.id_booking,
v.currency,
eu.currency,
er.rate,
v.is_cancelled,
v.creation_at_utc,
@ -42,7 +42,7 @@ with
end as rejected_fee_in_gbp,
to_char(v.checkout_at_utc, 'YYYY-MM') as year_month_checkout
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
stg_xedotcom__exchange_rates er
on er.from_currency = eu.currency