-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot override bultin macros #2032
Labels
bug
Something isn't working
Milestone
Comments
Fixed in #2035 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Built-in macros can't be overridden in
dbt run-operation
, anddbt docs generate
faces a similar problem where users cannot locally overrideget_catalog
.There are two parts to this bug:
adapter_macro
handles that).get_catalog
is the big one!) currently do not, because they don't use the full manifest.Steps To Reproduce
get_catalog
macro locally to raise:{% macro get_catalog(information_schemas) -%}{% do exceptions.raise_compiler_error('oops') %}{% endmacro %}
macros
count goes up by 1)Expected behavior
I expect dbt to use my macro, but instead it ignored it and used
dbt.get_catalog
.System information
Any database, dbt >= 0.15.0, any python
The text was updated successfully, but these errors were encountered: