From 41a7f7a5100cf1846a70434da56c2721fc202e55 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Fri, 14 Jun 2024 16:28:25 +0200 Subject: [PATCH] replace hardcode with global var --- .../cross/int_hardcoded_historical_currency_rates.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/intermediate/cross/int_hardcoded_historical_currency_rates.sql b/models/intermediate/cross/int_hardcoded_historical_currency_rates.sql index 32d225e..8e6d81e 100644 --- a/models/intermediate/cross/int_hardcoded_historical_currency_rates.sql +++ b/models/intermediate/cross/int_hardcoded_historical_currency_rates.sql @@ -4,4 +4,4 @@ with select d.date_day as rate_date, r.* from dates d cross join hardcoded_rates r -where d.date_day > cast('2020-01-01' as date) +where d.date_day > cast({{ var("start_date") }} as date)