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
I have searched the existing issues, and I could not find an existing issue for this bug
The env_var() function does not work in overrides of the create_schema macro is overridden. For example, after defining and using the macro like this...
{% macro create_schema(relation) %}
{%- call statement('create_schema' -%}
create schema if not exists {{ relation.without_identifier() }} with {{ env_var('DBT_MANAGED_ACCESS') }}
{% endcall %}
{% endmacro %}
...dbt reports
RuntimeError
'MacroManifest' object has no attribute 'env_vars'
This issue was reported to me by @T-Dunlap , was seeing it in dbt Cloud on "versionless".
The text was updated successfully, but these errors were encountered:
Is this a new bug in dbt-core?
The
env_var()
function does not work in overrides of thecreate_schema
macro is overridden. For example, after defining and using the macro like this......dbt reports
This issue was reported to me by @T-Dunlap , was seeing it in dbt Cloud on "versionless".
The text was updated successfully, but these errors were encountered: