Just committing to save change and create a new branch for basic to push basic changes

This commit is contained in:
Joaquin Ossa 2024-08-30 10:33:43 +02:00
parent 6adc424963
commit 42510bbb4d
4 changed files with 7 additions and 5 deletions

View file

@ -32,7 +32,7 @@ with
from int_edeposit__verifications
where version = 'V2'
),
calculated_metrics as (
aggregated_partner_booking_metrics as (
select
id_user_partner,
year_month_created,
@ -76,4 +76,4 @@ select
then cancelled_per_month * {{ cancellation_fee }}
else 0
end as total_revenue
from calculated_metrics
from aggregated_partner_booking_metrics

View file

@ -15,7 +15,7 @@ select
end as verification_source,
verification_status,
verification_status_reason,
cast(nightly_fee_local as float),
nightly_fee_local,
cast(checkout_at_utc as date) - cast(checkin_at_utc as date) as number_nights,
email_flag,
phone_flag,