Add verification type
This commit is contained in:
parent
d4eeeb964e
commit
8e97b97377
2 changed files with 20 additions and 0 deletions
|
|
@ -181,6 +181,8 @@ sources:
|
|||
identifier: VerificationPaymentType
|
||||
- name: VerificationSetToVerificationType
|
||||
identifier: VerificationSetToVerificationType
|
||||
- name: VerificationType
|
||||
identifier: VerificationType
|
||||
- name: Payment
|
||||
identifier: Payment
|
||||
- name: PaymentStatus
|
||||
|
|
|
|||
18
models/staging/core/stg_core__verification_type.sql
Normal file
18
models/staging/core/stg_core__verification_type.sql
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue