You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
macro 'dbt_macro__last_month' takes not more than 1 argument(s) > in macro last_month_number (macros/calendar_date/last_month_number.sql) > called by macro last_month (macros/calendar_date/last_month.sql)
Solution:
Remove the arguments for dbt_date.last_month() in the macro definition
Similar error for {{ dbt_date.last_month_name() }}
The text was updated successfully, but these errors were encountered:
The following macros throw runtime errors when a query is run:
Definition:
{%- macro last_month_number(tz=None) -%}
{{ dbt_date.date_part('month', dbt_date.last_month(1, tz)) }}
{%- endmacro -%}
Error:
macro 'dbt_macro__last_month' takes not more than 1 argument(s) > in macro last_month_number (macros/calendar_date/last_month_number.sql) > called by macro last_month (macros/calendar_date/last_month.sql)
Solution:
Remove the arguments for dbt_date.last_month() in the macro definition
The text was updated successfully, but these errors were encountered: