The problem I’m having
I have a macro which accepts argument on runtime like a numeric value and print it.
{% macro set_buildid(id) %}
{% if execute %}
{{ print(id) }}
{% endif%}
{% endmacro %}
The context of why I’m trying to do this
What I’ve already tried
While trying to execute it from other table
dbt run-operation set_buildid --args ‘{id:246}’
Some example code or error messages
macro 'dbt_macro__set_buildid' takes no keyword argument 'id:246'
Is anything wrong while invoking macro ?