Skip to content

Commit

Permalink
Merge pull request #1 from joaquinbravo23/joaquinbravo23-patch-1
Browse files Browse the repository at this point in the history
removing dbt_utils from date functions
  • Loading branch information
joaquinbravo23 authored Dec 22, 2023
2 parents f8d775f + 970d00c commit 72b40e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/dbt_utils/datetime/date_spine.sql
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

rawdata as (

select top ({{dbt_utils.datediff(start_date, end_date, datepart)}}) rownum -1 as n
select top ({{dbt.datediff(start_date, end_date, datepart)}}) rownum -1 as n
from nums
order by rownum
),
Expand All @@ -63,7 +63,7 @@

select (
{{
dbt_utils.dateadd(
dbt.dateadd(
datepart,
'n',
start_date
Expand Down

0 comments on commit 72b40e2

Please sign in to comment.