split staging layer

This commit is contained in:
Pablo Martin 2024-10-04 17:53:58 +02:00
parent 761cf409c6
commit 67dcc8b237
3 changed files with 100 additions and 5 deletions

View file

@ -1,7 +1,4 @@
with
stg_edeposit__verifications as (
select * from {{ ref("stg_edeposit__verifications") }}
)
with stg_athena__verifications as (select * from {{ ref("stg_athena__verifications") }})
select
-- note that these ids are not the same as the ones found in Core DWH
-- they are completely unrelated
@ -45,5 +42,5 @@ select
athena_creation_date_utc,
created_at_utc,
created_date_utc
from stg_edeposit__verifications
from stg_athena__verifications
where version = 'V1'