Hello,
I just setup elementary.
When I run DBT test, the standard dbt test results are added to the elementary tables, but elementary specific tests like elementary.table_anomalies are not executed nor added.
I get no error messages whatsoever.
Any ideas?
j
Joost Boonzajer Flaes
10/31/2024, 12:11 PM
Just to make sure, you added them to the yaml? If so, can you share the config here?
j
Jordy
10/31/2024, 1:45 PM
@Joost Boonzajer Flaes
Thanks for the question. The config block of the model looks like this:
config:
alias: table_x
materialized: table
partition_by:
field: fact_date
data_type: date
granularity: month
schema: tier3_facts
tags:
- a
- b
- c
elementary:
timestamp_column: 'fact_date'
tests:
- elementary.table_anomalies:
tags: ['elementary']
Jordy
11/04/2024, 10:31 AM
Fixed it, elementary test should not be inside the config: block. It should be one level higher.