staging for charge by type
This commit is contained in:
parent
71e2b86521
commit
b03633f650
1 changed files with 14 additions and 0 deletions
14
models/staging/core/stg_core__price_plan_charged_by_type.sql
Normal file
14
models/staging/core/stg_core__price_plan_charged_by_type.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
with
|
||||||
|
raw_price_plan_charged_by_type as (
|
||||||
|
select * from {{ source("core", "PricePlanChargedByType") }}
|
||||||
|
),
|
||||||
|
stg_core__price_plan_charged_by_type as (
|
||||||
|
select
|
||||||
|
{{ adapter.quote("Id") }} as id_price_plan_charged_by_type,
|
||||||
|
{{ adapter.quote("Name") }} as price_plan_charged_by_type,
|
||||||
|
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
|
||||||
|
|
||||||
|
from raw_price_plan_charged_by_type
|
||||||
|
)
|
||||||
|
select *
|
||||||
|
from stg_core__price_plan_charged_by_type
|
||||||
Loading…
Add table
Add a link
Reference in a new issue