Modified source and included test for id_address_validation as unique as well
This commit is contained in:
parent
1d4a2d7b34
commit
be9757b886
2 changed files with 8 additions and 2 deletions
|
|
@ -184,3 +184,7 @@ models:
|
|||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
- name: id_address_validation
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
with
|
||||
source as (select * from {{ source("core", "VerificationToAddressValidation") }}),
|
||||
raw_verification_to_address_validation as (
|
||||
select * from {{ source("core", "VerificationToAddressValidation") }}
|
||||
),
|
||||
stg_core__verification_to_address_validation as (
|
||||
select
|
||||
{{ adapter.quote("VerificationId") }} as id_verification,
|
||||
|
|
@ -8,7 +10,7 @@ with
|
|||
{{ adapter.quote("UpdatedDate") }} as updated_at_utc,
|
||||
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
|
||||
|
||||
from source
|
||||
from raw_verification_to_address_validation
|
||||
)
|
||||
select *
|
||||
from stg_core__verification_to_address_validation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue