reorganized columns

This commit is contained in:
Joaquin Ossa 2024-08-14 17:36:28 +02:00
parent fd44f94b78
commit 1d4a2d7b34
2 changed files with 3 additions and 3 deletions

View file

@ -180,7 +180,7 @@ models:
- not_null
- name: stg_core__verification_to_address_validation
columns:
- name: id_address_validation
- name: id_verification
tests:
- unique
- not_null

View file

@ -2,10 +2,10 @@ 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("CreatedDate") }} as created_at_utc,
{{ adapter.quote("UpdatedDate") }} as updated_at_utc,
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
from source