I’m still getting the deprecation warning for Mate...
# community-support
j
I’m still getting the deprecation warning for Materialization overrides from Elementary. Has that been resolved? Can I remove the flag in projects.yml?
n
Hey @Jon Simpson! You can feel free to silence the warning. Everything is being taken care of on our side. https://docs.getdbt.com/reference/global-configs/behavior-changes#behavior-change-flags
j
How do I silence just that one warning?
n
Hey! Looked into it a bit further, and dbt doesn't actually allow silencing this warning. In the mean time, we have a guide with a workaround - please make sure to read it before implementing the solution 🙂
n
@Noya Offer this fix does silence the error for us. It however causes sqlfluff lint alert for every model we have with the following.
Copy code
L:   2 | P:   1 |  TMP | Error in Jinja macro file macros/materialization.sql: Encountered
                       | unknown tag 'materialization'.
adding an ignore on the macro itself doesn't solve the issue macro:
Copy code
-- sqlfluff: skip_file
{# sqlfluff: disable=templating #}
{% materialization test, default %} 
  {{ return(elementary.materialization_test_default()) }} 
{% endmaterialization %} 
{# sqlfluff: enable=templating #}
or adding it to the ignore on the file with config
.sqlfluff
Copy code
[sqlfluff:templater:dbt]
macros = materialization