Skip to content

Commit

Permalink
date_spine: transform comment to jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamitenshi committed Dec 16, 2021
1 parent eb1ec81 commit abcfdc9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions macros/sql/date_spine.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,15 @@

{% macro default__date_spine(datepart, start_date, end_date) %}

/*
call as follows:

{# call as follows:

date_spine(
"day",
"to_date('01/01/2016', 'mm/dd/yyyy')",
"dateadd(week, 1, current_date)"
)
) #}

*/

with rawdata as (

Expand Down

0 comments on commit abcfdc9

Please sign in to comment.