Hello everyone. I am running DBT test for one of m...
# community-support
a
Hello everyone. I am running DBT test for one of my custom test case. Test is showing warning and it is inserting data in elementary_test_results as well. But test_result_rows is empty. I have tried to log/debug on_run_end macro as well but it seems not to be working. Could anyone please tell me what could be the issue?
n
Hey Abdullah! 🙂 Can you share which versions of dbt and the Elementary dbt package you're using? Also, have you made any recent updates to them? It would be helpful to know which specific tests aren't returning results. Are any tests working? And if none are, when was the last time you saw results? Also, which DWH are you using?
Hey, we might have an explanation to the issue you're having 🙂 There was a change in the materializations in dbt 1.8 and above that affected the
test_result_rows
. Try adding this flag to your
dbt_project.yml
and see if it works:
Copy code
flags:
  require_explicit_package_overrides_for_builtin_materializations: false
See all details here - https://docs.elementary-data.com/oss/quickstart/quickstart-cli-package#important-allowing-elementary-to-over[…]aterializations-relevant-from-dbt-1-8 Let me know if this helps!