{%- if target.name == “development” -%} {% set event_date = get_max_value( ‘{{ target.dataset }}’, ‘{{ target.table }}’, ‘session_date’) %}
Now string is only accepted as macro input while calling the macro. but when i complie the target.dataset or target.table are not getting populated when its invoked from model.