Merged PR 3506: Remove Address Validation
# Description Removes Address Validation within DWH. Note that I keep the 2 reporting fields, nullified. These should be removed after the removal of these fields in PBI. # Checklist - [X] The edited models and dependants run properly with production data. - [NA] The edited models are sufficiently documented. - [X] The edited models contain PK tests, and I've ran and passed them. - [NA] I have checked for DRY opportunities with other models and docs. - [NA] I've picked the right materialization for the affected models. # Other - [ ] Check if a full-refresh is required after this PR is merged. Related work items: #23976
This commit is contained in:
parent
3b822a2ea5
commit
321f48ca7d
8 changed files with 1 additions and 165 deletions
|
|
@ -172,22 +172,7 @@ models:
|
|||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
- name: stg_core__address_validation
|
||||
columns:
|
||||
- name: id_address_validation
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
- name: stg_core__verification_to_address_validation
|
||||
columns:
|
||||
- name: id_verification
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
- name: id_address_validation
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
- name: stg_core__accommodation_to_product_bundle
|
||||
columns:
|
||||
- name: id_accommodation_to_product_bundle
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
with
|
||||
raw_address_validation as (select * from {{ source("core", "AddressValidation") }}),
|
||||
stg_core__address_validation as (
|
||||
select
|
||||
{{ adapter.quote("Id") }} as id_address_validation,
|
||||
{{ adapter.quote("AccommodationId") }} as id_accommodation,
|
||||
{{ adapter.quote("Passed") }} as validation_passed,
|
||||
{{ adapter.quote("FeatureSizeMeters") }} as feature_size_meters,
|
||||
{{ adapter.quote("FeatureSizeMetersUpperLimit") }}
|
||||
as feature_size_meters_upper_limit,
|
||||
{{ adapter.quote("Notes") }} as notes,
|
||||
{{ 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 raw_address_validation
|
||||
)
|
||||
select *
|
||||
from stg_core__address_validation
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
with
|
||||
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,
|
||||
{{ 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 raw_verification_to_address_validation
|
||||
)
|
||||
select *
|
||||
from stg_core__verification_to_address_validation
|
||||
Loading…
Add table
Add a link
Reference in a new issue