Hello! We have custom macros to test certain quali...
# community-support
t
Hello! We have custom macros to test certain quality dimensions in DBT. Elementary is tagging these tests as null for quality dimension. How can we tag these tests for the quality dimension that applies to them? I tried adding
tags: ['edr:dimension=uniqueness']
which shows up in the tags field for elementary.dbt_tests but quality dimension is still null. Thanks!
n
Hey @Thomas Wong! You can set this by using the
meta
block in the test configuration, with the key
quality_dimension
🙂
Copy code
data_tests:
   custom_not_null:
      column: created_at
      meta:
        quality_dimension: 'completeness'
✅ 1
t
Are we able to set more than one value for quality_dimension?
something like quality_dimension: ['completeness', 'freshness']