<@U088WCP3B4P> if we upgrade the dbt version then ...
# ask-elementary-ai
s
@kapa.ai if we upgrade the dbt version then this error will be solved or?
3:22  [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. Please refer to <https://d>
<http://ocs.getdbt.com/reference/global-configs/legacy-behaviors#require_explicit_packag|ocs.getdbt.com/reference/global-configs/legacy-behaviors#require_explicit_packag>
e_overrides_for_builtin_materializations for detailed documentation and
suggested workarounds.
upgrading now will break thes sytem ?
k
A message from kapa.ai
No, upgrading dbt will not remove this warning, and it should not “break the system” as long as you follow the documented guidance. What the warning means - dbt recently started warning whenever an installed package (like Elementary) overrides built‑in materializations such as
test
,
table
, or
incremental
. [[Warning note](https://github.com/elementary-data/elementary/issues/1568)] - Elementary intentionally overrides the
test
materialization so it can collect failed row counts and row samples for tests. [[Materialization override explanation](https://slack.com/archives/C02CTC89LAX/p1716591685163269); [dbt 1.8 note](https://github.com/elementary-data/elementary/issues/1692)] Behavior across dbt versions - For dbt < 1.8: - The warning is expected and Elementary works correctly. The official recommendation is simply to ignore it for now. [[Troubleshooting note](https://github.com/elementary-data/elementary/issues/1568); [support guidance](https://slack.com/archives/C02CTC89LAX/p1715016357916139)] - For dbt 1.8+: - dbt requires you to explicitly allow packages to override built‑in materializations. - Elementary recommends adding this to
dbt_project.yml
so its test enhancements keep working: [[Quickstart flags](https://docs.elementary-data.com/cloud/onboarding/quickstart-dbt-package#step-by-step%3A-install-elementary-dbt-package); [issue 1692](https://github.com/elementary-data/elementary/issues/1692)]
Copy code
yaml     flags:       require_explicit_package_overrides_for_builtin_materializations: false
- This **does not remove the warning**; it just ensures Elementary’s features (failed row count and samples for tests) continue to work. [[Support explanation](https://slack.com/archives/C02CTC89LAX/p1715016357916139)] Will upgrading break your system? - The knowledge sources do not report Elementary or dbt breaking just because of this warning. - For dbt < 1.8, you can safely ignore the warning and keep running. [[Troubleshooting note](https://github.com/elementary-data/elementary/issues/1568)] - For dbt 1.8+, you should add the
flags:
config above so Elementary can still override the
test
materialization; without it, you may lose test samples/failed row counts, but not “break” your whole dbt project. [[Issue 1692](https://github.com/elementary-data/elementary/issues/1692)] If you tell me your current dbt and Elementary versions, I can suggest the exact
dbt_project.yml
snippet you should use.