Feedback on current process

This commit is contained in:
Joaquin Ossa 2024-12-19 17:18:27 +01:00
parent 7728eb73c1
commit 3d2477f8f9
4 changed files with 182 additions and 11 deletions

View file

@ -4,8 +4,6 @@ with
stg_core__apim_user as (select * from {{ ref("stg_core__apim_user") }}),
stg_core__apim_user_type as (select * from {{ ref("stg_core__apim_user_type") }})
select
-- note that these ids are not the same as the ones found in Core
-- they are completely unrelated
au.id_apim_user,
au.id_apim_user_type,
au.json_document_user_data ->> 'DealId' as id_deal,