add verification payment type
This commit is contained in:
parent
606eed9754
commit
999ae0dd10
2 changed files with 18 additions and 2 deletions
|
|
@ -99,9 +99,9 @@ sources:
|
||||||
- name: CreatedUserId
|
- name: CreatedUserId
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
quote: True
|
quote: True
|
||||||
description: |
|
description: |
|
||||||
A user can be created by another user. If this user has been created by another user, this is the UUID of the creator.
|
A user can be created by another user. If this user has been created by another user, this is the UUID of the creator.
|
||||||
|
|
||||||
Else, this is null.
|
Else, this is null.
|
||||||
tests:
|
tests:
|
||||||
- dbt_expectations.expect_column_values_to_match_regex:
|
- dbt_expectations.expect_column_values_to_match_regex:
|
||||||
|
|
@ -171,3 +171,5 @@ sources:
|
||||||
identifier: SuperhogUser
|
identifier: SuperhogUser
|
||||||
- name: VerificationToPayment
|
- name: VerificationToPayment
|
||||||
identifier: VerificationToPayment
|
identifier: VerificationToPayment
|
||||||
|
- name: VerificationPaymentType
|
||||||
|
identifier: VerificationPaymentType
|
||||||
|
|
|
||||||
14
models/staging/core/stg_core__verification_payment_type.sql
Normal file
14
models/staging/core/stg_core__verification_payment_type.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
with
|
||||||
|
raw_verificationpaymenttype as (
|
||||||
|
select * from {{ source("core", "VerificationPaymentType") }}
|
||||||
|
),
|
||||||
|
stg_core__verification_payment_type as (
|
||||||
|
select
|
||||||
|
{{ adapter.quote("Id") }} as id_verification_payment_type,
|
||||||
|
{{ adapter.quote("Name") }} as verification_payment_type,
|
||||||
|
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_date_utc
|
||||||
|
|
||||||
|
from raw_verificationpaymenttype
|
||||||
|
)
|
||||||
|
select *
|
||||||
|
from stg_core__verification_payment_type
|
||||||
Loading…
Add table
Add a link
Reference in a new issue