stg model for booking state

This commit is contained in:
Pablo Martin 2024-03-20 10:36:23 +01:00
parent 964ccbaa24
commit 18c4121d62

View file

@ -0,0 +1,12 @@
with
raw_booking_state as (select * from {{ source("core", "BookingState") }}),
stg_core__booking_state as (
select
{{ adapter.quote("Id") }} as id_booking_state,
{{ adapter.quote("Name") }} as booking_state,
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc
from raw_booking_state
)
select *
from stg_core__booking_state