Stéphane Burwash
02/15/2024, 9:18 PM31mUnhandled error while executing \x1b[0m', 'Pass a string for project'
Here is the code I used to disable the elementary extension:
elementary:
+schema: "elementary"
+enabled: false
In my dbt_project.yml My understanding was that disabling elementary would totally remove the invocation. Is this not the case? How can I get rid of these errors which are making my tasks fail?Ella Katz
02/18/2024, 10:40 AMStéphane Burwash
02/20/2024, 6:49 PMmodels:
...
elementary:
+schema: "elementary"
+enabled: "{{ target.name in ['prod'] }}"
And I changed this to:
models:
...
elementary:
+schema: "elementary"
+enabled: false
This had no effect locally, but in production, any elementary test (ex: row_number) was failing with the message above.
Would you have any idea what could have caused this? Thanks thankyouElla Katz
02/25/2024, 2:21 PMpackages:
- git: <https://github.com/elementary-data/dbt-data-reliability.git>
revision: 7df3a177cce35c69438923a898ef02c6c957d551
after you install the package from here (or wait for our next version) you'll be able to disable like you mentioned above and it will make elementary tests just run do nothing and pass. If you prefer the tests not to run at all you'll be able to exclude them by excluding tag:elementary-testsStéphane Burwash
02/26/2024, 9:55 PM