Hey All, am running dbt models and their associate...
# community-support
b
Hey All, am running dbt models and their associated tests by tag to run groups of models together with one invocation, using this syntax: dbt build --select tag:bb_models --vars 'dag_run_id: 12345'. From the dbt logs, I can see that all models and tests are getting executed. However, when i query the elementary_test_results table, I only see rows for one of the model's tests for that run (generally the first model by alphabetical order). As such, only entries for that one table appear in the elementary html report. Wondering if the end hook is executing properly in this case?
👀 1
a
I have a similiar issue since Jan 11. Where some models stopped populating the dbt_run_results, thus dropping out of the report. No changes to the models or upgrades to Dbt and it only affects a handful out of 230+ models in total. I haven't been able to debug this myself, but seems like there might be a bug at least since everything worked fine for a long time until it didn't. @Noy Arie Could this be related? re the discussion in the other thread.
b
@Ella Katz @Daniel Pollak @Noy Arie any thoughts? this appears to be a bug in a more recent version - after downgraded from 12.0 to 11.0, all the tests are being logged in elementary_test_results again.
d
Hey guys @Benjamin Bloch @Anders Enger, can you share the contents of
dbt.log
file that's contained in
./logs
directory within the dbt project directory ? I'd like to inspect our insert queries there
and i'd like also to know you dbt-core version
@Benjamin Bloch Till version 0.12.0 we had a bug in this area (that caused to missing models) This fixed it, and was released in version 0.12.1. May you try this version ? 🙂