Closed cscetbon closed 3 years ago
I think the problem is in the sqlite__list_relations_without_caching
macro. dbt 0.20 seems to always look for relations in a schema named [database]_dbt_test__audit
as part of the new functionality of storing test failures, even if you don't use the feature.
That macro should be changed to not execute the query on [database]_dbt_test__audit
unless the schema exists. It may take me a few days before I can fix this.
That's exactly the issue I'm having. I don't understand how that schema makes sense when this feature is not used ...
I fixed this as well as another unrelated issue that came up with upgrading to dbt 0.20.0.
I've made a dbt-sqlite 0.2.0 release on pypi. Give that a try and let me know if you encounter any problems.
thanks @codeforkjeff it works better ! It fixed an exception I was getting in my tests as well
Please add support for the latest version. with the latest dbt version I get
It should be
main.sqlite_master
instead ofmain_dbt_test__audit.sqlite_master
Thanks