Merged PR 2106: Add VerificationSet to staging
Brings the VerificationSet from Core into staging. Related work items: #17068
This commit is contained in:
commit
cebd6f6485
3 changed files with 30 additions and 0 deletions
|
|
@ -211,3 +211,5 @@ sources:
|
|||
identifier: AccommodationToUser
|
||||
- name: Country
|
||||
identifier: Country
|
||||
- name: VerificationSet
|
||||
identifier: VerificationSet
|
||||
|
|
|
|||
|
|
@ -120,3 +120,10 @@ models:
|
|||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
||||
- name: stg_core__verification_set
|
||||
columns:
|
||||
- name: id_verification_set
|
||||
tests:
|
||||
- unique
|
||||
- not_null
|
||||
|
|
|
|||
21
models/staging/core/stg_core__verification_set.sql
Normal file
21
models/staging/core/stg_core__verification_set.sql
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
with
|
||||
raw_verification_set as (select * from {{ source("core", "VerificationSet") }}),
|
||||
stg_core__verification_set as (
|
||||
select
|
||||
{{ adapter.quote("Id") }} as id_verification_set,
|
||||
{{ adapter.quote("SuperhogUserId") }} as id_user_host,
|
||||
{{ adapter.quote("Version") }} as verification_set_version,
|
||||
{{ adapter.quote("AutoFill") }} as autofill,
|
||||
{{ adapter.quote("IsActive") }} as is_active,
|
||||
{{ adapter.quote("AutoNavigate") }} as autonavigate,
|
||||
{{ adapter.quote("HidePassword") }} as hide_password,
|
||||
{{ adapter.quote("UserVerificationSetType") }}
|
||||
as user_verification_set_type,
|
||||
{{ 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_set
|
||||
)
|
||||
select *
|
||||
from stg_core__verification_set
|
||||
Loading…
Add table
Add a link
Reference in a new issue