Skip to content

Duplicate entries in the report. #1420

@annav00

Description

@annav00

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:

  1. Run tests/models in parallel as separate queries.
  2. 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.

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions