hardcoded rates for all dates

This commit is contained in:
Pablo Martin 2024-03-12 11:33:10 +01:00
parent 05d8640417
commit 134580c3f6

View file

@ -0,0 +1,7 @@
with
hardcoded_rates as (select * from {{ ref("stg_seed__hardcoded_currency_rates") }}),
dates as (select * from {{ ref("int_dates") }})
select d.date_day, r.*
from dates d
cross join hardcoded_rates r
where d.date_day between '2020-01-01' and '2025-12-31'