diff --git a/dbt_project.yml b/dbt_project.yml index 28120ec..8e96a1b 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,7 +1,7 @@ config-version: 2 name: 'gemma_dbt_utils' -version: '0.4.2' +version: '0.4.3' require-dbt-version: ">=1.0.0" diff --git a/models/gemma_dates.sql b/models/gemma_dates.sql index 60d8c1e..d8a65f2 100644 --- a/models/gemma_dates.sql +++ b/models/gemma_dates.sql @@ -159,7 +159,7 @@ '-' || ROW_NUMBER() OVER (ORDER BY NULL) + 1, CURRENT_DATE + INTERVAL '{{ var('gemma:dates:end_date') }}' ) AS date - FROM TABLE (generator(rowcount => $timeframe)) + FROM TABLE (generator(rowcount => {{ timeframe }} )) ), final AS (