Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elementary doesnt insert row into elementary_test_results when execute dbt unit-tests #1709

Open
megetron3 opened this issue Sep 29, 2024 · 1 comment

Comments

@megetron3
Copy link

megetron3 commented Sep 29, 2024

i am using dbt 1.8 with unitest new feature and the latest elementary package.
executing data tests generates the elementary_test_results table correctly.
executing against unittest test will not insert row to the table.
here is example test:

To Reproduce
Use a simple dbt unit test:

unit_tests:
  - name: test_dora
    model: my_model
  ...

Expected behavior
expecting the elementary_test_results to be populated with a row on run-end hook

@megetron3 megetron3 added Bug Something isn't working Triage 👀 labels Sep 29, 2024
@haritamar
Copy link
Collaborator

Hi @megetron3 !
Actually, the elementary dbt package doesn't support unit tests right now.

I'm not 100% sure if unit tests results have the same structure and can be added easily, it may require some research. If you're interested in contributing this I can provide some directions on where to look.

Thanks,
Itamar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants