Merge branch 'master' of ssh.dev.azure.com:v3/guardhog/Data/data-dwh-dbt-project
This commit is contained in:
commit
b3ba2b5fa0
3 changed files with 24 additions and 26 deletions
|
|
@ -1,12 +1,11 @@
|
|||
with source as (
|
||||
select * from {{ source('core', 'Role') }}
|
||||
),
|
||||
with
|
||||
source as (select * from {{ source("core", "Role") }}),
|
||||
stg_core__role as (
|
||||
select
|
||||
{{ adapter.quote("Id") }} as id_role,
|
||||
lower({{ adapter.quote("Id") }}) as id_role,
|
||||
{{ adapter.quote("Name") }} as role_name,
|
||||
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
|
||||
from source
|
||||
)
|
||||
select * from stg_core__role
|
||||
|
||||
select *
|
||||
from stg_core__role
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
with source as (
|
||||
select * from {{ source('core', 'UserRole') }}
|
||||
),
|
||||
with
|
||||
source as (select * from {{ source("core", "UserRole") }}),
|
||||
stg_core__user_role as (
|
||||
select
|
||||
lower({{ adapter.quote("UserId") }}) as id_user,
|
||||
{{ adapter.quote("RoleId") }} as id_role,
|
||||
lower({{ adapter.quote("RoleId") }}) as id_role,
|
||||
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
|
||||
from source
|
||||
)
|
||||
select * from stg_core__user_role
|
||||
|
||||
select *
|
||||
from stg_core__user_role
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
dbt-core~=1.7.6
|
||||
dbt-postgres~=1.7.6
|
||||
dbt-core~=1.9.1
|
||||
dbt-postgres~=1.9.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue