new verification_to_address_validation model in staging
This commit is contained in:
parent
cdd3b6a58f
commit
fd44f94b78
3 changed files with 22 additions and 0 deletions
|
|
@ -227,3 +227,5 @@ sources:
|
||||||
identifier: BookingToProductBundle
|
identifier: BookingToProductBundle
|
||||||
- name: AddressValidation
|
- name: AddressValidation
|
||||||
identifier: AddressValidation
|
identifier: AddressValidation
|
||||||
|
- name: VerificationToAddressValidation
|
||||||
|
identifier: VerificationToAddressValidation
|
||||||
|
|
|
||||||
|
|
@ -173,6 +173,12 @@ models:
|
||||||
- unique
|
- unique
|
||||||
- not_null
|
- not_null
|
||||||
- name: stg_core__address_validation
|
- name: stg_core__address_validation
|
||||||
|
columns:
|
||||||
|
- name: id_address_validation
|
||||||
|
tests:
|
||||||
|
- unique
|
||||||
|
- not_null
|
||||||
|
- name: stg_core__verification_to_address_validation
|
||||||
columns:
|
columns:
|
||||||
- name: id_address_validation
|
- name: id_address_validation
|
||||||
tests:
|
tests:
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
with
|
||||||
|
source as (select * from {{ source("core", "VerificationToAddressValidation") }}),
|
||||||
|
stg_core__verification_to_address_validation as (
|
||||||
|
select
|
||||||
|
{{ adapter.quote("CreatedDate") }} as created_at_utc,
|
||||||
|
{{ adapter.quote("UpdatedDate") }} as updated_at_utc,
|
||||||
|
{{ adapter.quote("VerificationId") }} as id_verification,
|
||||||
|
{{ adapter.quote("AddressValidationId") }} as id_address_validation,
|
||||||
|
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
|
||||||
|
|
||||||
|
from source
|
||||||
|
)
|
||||||
|
select *
|
||||||
|
from stg_core__verification_to_address_validation
|
||||||
Loading…
Add table
Add a link
Reference in a new issue