From b333b458910bb3c68edef89c0c1ce0f2dd5e4ac3 Mon Sep 17 00:00:00 2001 From: Joaquin Ossa Date: Wed, 28 Aug 2024 15:00:22 +0200 Subject: [PATCH] Added some comments to make it clear that ids here are unrelated to core dwh, I will come back to modify the schemas when Ray answers all of our questions related to this data --- models/intermediate/core/int_edeposit__verifications.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/intermediate/core/int_edeposit__verifications.sql b/models/intermediate/core/int_edeposit__verifications.sql index ebb170f..8440f50 100644 --- a/models/intermediate/core/int_edeposit__verifications.sql +++ b/models/intermediate/core/int_edeposit__verifications.sql @@ -3,10 +3,13 @@ with select * from {{ ref("stg_edeposit__verifications") }} ) select + -- note that these ids are not the same as the ones found in Core DWH + -- they are completely unrelated id as id_verification, id_booking, id_user as id_user_host, id_listing as id_accommodation, + version, -- V1 for Guesty and V2 for E-deposit case when version = 'V1' then 'Guesty' when version = 'V2' then 'Edeposit' else null end as verification_source,