diff --git a/macros/cross_db_utils/datediff.sql b/macros/cross_db_utils/datediff.sql index 870503e5..457bd60c 100644 --- a/macros/cross_db_utils/datediff.sql +++ b/macros/cross_db_utils/datediff.sql @@ -17,8 +17,8 @@ {% macro bigquery__datediff(first_date, second_date, datepart) %} date_diff( - {{first_date}}, {{second_date}}, + {{first_date}}, {{datepart}} )