Skip to content

Commit

Permalink
Merge pull request #53 from Gemma-Analytics/snowflake_fix_dates_model
Browse files Browse the repository at this point in the history
dates model Snowflake fix
  • Loading branch information
soltanianalytics authored Apr 13, 2022
2 parents 49b3fb9 + 04fc4b1 commit 6186f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion models/gemma_dates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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 (

Expand Down

0 comments on commit 6186f3f

Please sign in to comment.