Add verification type

This commit is contained in:
Pablo Martin 2024-04-24 15:11:24 +02:00
parent d4eeeb964e
commit 8e97b97377
2 changed files with 20 additions and 0 deletions

View file

@ -181,6 +181,8 @@ sources:
identifier: VerificationPaymentType
- name: VerificationSetToVerificationType
identifier: VerificationSetToVerificationType
- name: VerificationType
identifier: VerificationType
- name: Payment
identifier: Payment
- name: PaymentStatus

View file

@ -0,0 +1,18 @@
with
raw_verification_type as (select * from {{ source("core", "VerificationType") }}),
stg_core__verification_type as (
select
{{ adapter.quote("Id") }} as id_verification_type,
{{ adapter.quote("Name") }} as verification_type,
{{ adapter.quote("Provider") }} as verification_provider,
{{ adapter.quote("IncludedInUserInterface") }},
{{ adapter.quote("CreatedDate") }} as created_at_utc,
cast({{ adapter.quote("CreatedDate") }} as date) as created_date_utc,
{{ adapter.quote("UpdatedDate") }} as updated_at_utc,
cast({{ adapter.quote("UpdatedDate") }} as date) as updated_date_utc,
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
from raw_verification_type
)
select *
from stg_core__verification_type