Removed test users from staging

This commit is contained in:
Joaquin 2025-03-20 09:30:33 +01:00
parent a85033922c
commit d06f58b76e
3 changed files with 3 additions and 4 deletions

View file

@ -1,3 +1,5 @@
{% set test_account = "TEST" %}
with
raw_apim_user as (select * from {{ source("core", "ApimUser") }}),
stg_core__apim_user as (
@ -15,3 +17,4 @@ with
)
select *
from stg_core__apim_user
where upper(json_document_user_data ->> 'AccountType') <> '{{ test_account }}'