add integration type model
This commit is contained in:
parent
8ec14a14c1
commit
f5ae39e443
1 changed files with 24 additions and 0 deletions
24
models/staging/core/stg_core__integration_type.sql
Normal file
24
models/staging/core/stg_core__integration_type.sql
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
with
|
||||
raw_integration_type as (select * from {{ source("core", "IntegrationType") }}),
|
||||
stg_core__integration_type as (
|
||||
select
|
||||
{{ adapter.quote("Id") }} as id_integration_type,
|
||||
{{ adapter.quote("AuthenticationTypeId") }} as id_authentication_type,
|
||||
{{ adapter.quote("Logo") }} as logo,
|
||||
{{ adapter.quote("Name") }} as integration_type,
|
||||
{{ adapter.quote("IsHidden") }} as is_hidden,
|
||||
{{ adapter.quote("DisplayName") }} as display_name,
|
||||
{{ adapter.quote("Configuration") }} as integration_type_configuration,
|
||||
{{ adapter.quote("IsWebhookKygEnabled") }} as is_webhook_kyg_enabled,
|
||||
{{ adapter.quote("CreatedDateCutOffAllowed") }}
|
||||
as is_created_date_cutoff_allowed,
|
||||
{{ adapter.quote("IsWebhookSuperhogEnabled") }}
|
||||
as is_webhook_superhog_enabled,
|
||||
{{ 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_integration_type
|
||||
)
|
||||
select *
|
||||
from stg_core__integration_type
|
||||
Loading…
Add table
Add a link
Reference in a new issue