addressed Pablo's comments, removed the repetitive casts, added some nut_null tests and fixed some of the names and descriptions discrepancies

This commit is contained in:
Joaquin Ossa 2024-08-29 14:25:00 +02:00
parent ad2eb2544c
commit 6adc424963
6 changed files with 96 additions and 48 deletions

View file

@ -1,16 +0,0 @@
with
int_edeposit__agg_fee_per_user as (
select * from {{ ref("int_edeposit__agg_fee_per_user") }}
)
select
year_month_created as year_month_created,
year_month_checkout as year_month_checkout,
id_user_host as id_user_host,
bookings_per_month as bookings_per_month,
cancelled_per_month as cancelled_per_month,
cancelled_ratio as cancelled_ratio,
sum_cancelled_fee as sum_cancelled_fee,
sum_ok_status_fee as sum_ok_status_fee,
sum_rejected_fee as sum_rejected_fee,
total_revenue as total_revenue
from int_edeposit__agg_fee_per_user