Helped with readability on test
This commit is contained in:
parent
c95f551acf
commit
24aa9b7021
2 changed files with 6 additions and 5 deletions
|
|
@ -2,8 +2,9 @@
|
||||||
select *
|
select *
|
||||||
from {{ model }}
|
from {{ model }}
|
||||||
where
|
where
|
||||||
{{ column_name }}
|
{{ column_name }} != (
|
||||||
!= date_trunc('MONTH', {{ column_name }})
|
date_trunc('MONTH', {{ column_name }})
|
||||||
+ interval '1 MONTH'
|
+ interval '1 MONTH'
|
||||||
- interval '1 DAY'
|
- interval '1 DAY'
|
||||||
|
)
|
||||||
{% endtest %}
|
{% endtest %}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ with
|
||||||
stg_core__apim_user as (select * from {{ ref("stg_core__apim_user") }}),
|
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") }})
|
stg_core__apim_user_type as (select * from {{ ref("stg_core__apim_user_type") }})
|
||||||
select
|
select
|
||||||
-- note that these ids are not the same as the ones found in Core DWH
|
-- note that these ids are not the same as the ones found in Core
|
||||||
-- they are completely unrelated
|
-- they are completely unrelated
|
||||||
vr.id_verification,
|
vr.id_verification,
|
||||||
vr.id_booking,
|
vr.id_booking,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue