<@U088WCP3B4P> how to hide [WARNING]: Installed pa...
# ask-elementary-ai
d
@kapa.ai how to hide [WARNING]: Installed package 'elementary' is overriding the built-in materialization 'test'. Overrides of built-in materializations from installed packages will be deprecated in future versions of dbt. For more information: https://docs.getdbt.com/reference/global-configs/legacy-behaviors
k
A message from kapa.ai
Currently, there is no way to fully hide or suppress the warning:
Copy code
[WARNING]: Installed package 'elementary' is overriding the built-in materialization 'test'. Overrides of built-in materializations from installed packages will be deprecated in future versions of dbt. For more information: <https://docs.getdbt.com/reference/global-configs/legacy-behaviors>
Adding the recommended flag to your `dbt_project.yml`:
Copy code
yaml flags:   require_explicit_package_overrides_for_builtin_materializations: false
will ensure Elementary continues to function as expected in dbt 1.8+, but it will not remove the warning from your logs. This is a known issue, and the Elementary team is working with dbt to provide a more permanent solution. For now, the warning can be safely ignored if you have set the flag as instructed. There is also a
mute_ensure_materialization_override
variable, but users have reported that it does not currently suppress the warning either. The warning is expected behavior and does not indicate a malfunction in Elementary or dbt at this time [Step-by-step: Install Elementary dbt package](https://docs.elementary-data.com/oss/quickstart/quickstart-cli-package#step-by-step:install-elementary-dbt-package), [Slack thread](https://slack.com/archives/C02CTC89LAX/p1715016357916139), [Slack thread](https://slack.com/archives/C02CTC89LAX/p1727244860265519). Summary: - The warning cannot currently be hidden or suppressed. - Setting the flag ensures functionality but does not remove the warning. - The Elementary and dbt teams are working on a long-term fix.
d
@kapa.ai more threads on this
k
A message from kapa.ai
Certainly! Here are additional threads from the knowledge sources where users discuss the warning about Elementary overriding built-in materializations in dbt, and related questions about suppressing or understanding the warning: - Users frequently report seeing warnings such as:
Copy code
[WARNING]: Installed package 'elementary' is overriding the built-in materialization 'test'.
and ask how to suppress or remove it. The consensus is that, as of now, there is no way to fully hide the warning, even after setting the recommended flags in
dbt_project.yml
. The Elementary team acknowledges this as an open issue and is working with dbt to resolve it. The warning does not affect Elementary's functionality if the flag is set, and it can be safely ignored for now [Slack thread](https://slack.com/archives/C02CTC89LAX/p1715016357916139), [Slack thread](https://slack.com/archives/C02CTC89LAX/p1727244860265519), [GitHub issue](https://github.com/elementary-data/elementary/issues/1568). - Multiple users have asked about the implications of the warning and whether it affects data or test results. Trusted support staff have clarified that the warning is informational and does not impact the operation of Elementary or dbt, provided the correct configuration is in place [Slack thread](https://slack.com/archives/C02CTC89LAX/p1729523466778279). - Some users have inquired about the differences between Elementary's materializations and dbt's defaults, and whether they should allow the override. The answer is that Elementary's overrides are necessary for its advanced test result collection and reporting, and the override should be allowed for full functionality [Slack thread](https://slack.com/archives/C02CTC89LAX/p1716487898102199), [Slack thread](https://slack.com/archives/C02CTC89LAX/p1718336581667709). - There are also reports that the warning appears even when models are not using the overridden materializations, and that it persists across different dbt and Elementary versions [Slack thread](https://slack.com/archives/C02CTC89LAX/p1715329734115169), [Slack thread](https://slack.com/archives/C02CTC89LAX/p1714984828060369). In summary, this warning is a known and widely discussed issue in the Elementary and dbt communities. The current advice is to ignore the warning until a permanent solution is released.