Hello, I just setup elementary. When I run DBT tes...
# community-support
j
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
Just to make sure, you added them to the yaml? If so, can you share the config here?
j
@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']
Fixed it, elementary test should not be inside the config: block. It should be one level higher.
j
That is great! 😄