signal model deprecation more clearly, unlock a few tests

This commit is contained in:
Pablo Martin 2024-10-08 17:44:31 +02:00
parent ea4274b37c
commit 09fe9ded77
2 changed files with 62 additions and 62 deletions

View file

@ -1,14 +1,8 @@
with
int_athena__verifications_with_fees as (
select * from {{ ref("int_athena__verifications_with_fees") }}
)
select
avf.id_verification as id_verification,
avf.id_booking as id_booking,
avf.verification_status as verification_status,
avf.is_cancelled as is_cancelled,
avf.ok_status_fee_in_gbp as ok_status_fee_in_gbp,
avf.created_date_utc as created_date_utc,
avf.checkout_date_utc as checkout_date_utc
from int_athena__verifications_with_fees avf
/*
This model here should not exist and will be deprecated. Downstream dependencies
should switch to reading from the new `athena__verification_fees`. The model
remains here as pointer to the new one to give downstream dependencies time to switch.
*/
with athena__verification_fees as (select * from {{ ref("athena__verification_fees") }})
select *
from athena__verification_fees