This commit is contained in:
Pablo Martin 2024-03-05 14:00:34 +01:00
parent 6b62987a41
commit 34171cf7be

View file

@ -1,5 +1,5 @@
with
raw_refunds as (select * from {{ source("stripe_uk", "refunds") }}),
raw_refunds as ({{ generate_stripe_sources_unioned_select("refunds") }}),
stg_seed__currencies as (select * from {{ ref("stg_seed__currencies") }}),
stg_stripe__refunds as (
select
@ -28,6 +28,7 @@ with
{{ adapter.quote("balance_transaction") }},
{{ adapter.quote("destination_details") }},
{{ adapter.quote("source_transfer_reversal") }},
{{ adapter.quote("stripe_source_account") }},
{{ adapter.quote("_airbyte_extracted_at") }} as dwh_extracted_at_utc,
cast(
{{ adapter.quote("_airbyte_extracted_at") }} as date