-
Notifications
You must be signed in to change notification settings - Fork 209
Description
Describe the bug
The on-run-end hook saves data to artifact table. When running tests/models in parallel, duplicate entries in artifact tables sometimes occur. Because of this, when generating a report, duplicate records with information about tests appear.
To Reproduce
Steps to reproduce the behavior:
- Run tests/models in parallel as separate queries.
- Generate the report.
Expected behavior
The report contains one entry for each inspection.
Screenshots
Example: elementary_test_results 1 record * dbt_sources 2 records * dbt_tests 6 records -> there are 12 records in the report.
Environment (please complete the following information):
- edr Version: 0.13.2
- dbt package Version: 0.13.0
Additional context
Perhaps it is possible to solve the problem of duplication in artifact tables when working in parallel. Or maybe can distinct records when query the data for the report.
