add staging model
This commit is contained in:
parent
8fbbb1d10b
commit
c23e79b5fe
1 changed files with 21 additions and 0 deletions
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