michael böhm
11/30/2023, 4:36 PMexposure_schema_validity it always passes, no matter what (fantasy) `column_name`s are listed under `meta`/`referenced_columns`.
dbt-core 1.7.1, dbt-databricks 1.7.1, elementary-data 0.12.0, elementary(package) 0.12.2michael böhm
11/30/2023, 4:36 PM- name: installs__explore
type: dashboard
maturity: low
url: <…>
description: <…>
depends_on:
- ref('fct_installs')
owner:
name: <…>
email: <…>
meta:
referenced_columns:
- column_name: country_code
- column_name: installed_date
- column_name: opened_date
- column_name: os_version
model.yml
- name: fct_installs
description: <…>
tests:
- elementary.exposure_schema_validity
columns:
- <…>michael böhm
11/30/2023, 4:37 PMcolumn_name in single or double quotes, to no availmichael böhm
12/01/2023, 7:52 AMmichael böhm
12/04/2023, 10:53 AMErik Zaadi
12/04/2023, 12:25 PMnode property as well with the relevant ref?
...
meta:
referenced_columns:
- column_name: 'country_code'
node: ref('fct_installs')Noa Kurman
12/04/2023, 12:30 PMmichael böhm
12/04/2023, 1:31 PMmichael böhm
12/04/2023, 2:02 PMselect
count(*) as failures,
count(*) != 0 as should_warn,
count(*) != 0 as should_error
from (
with nothing as (select 1 as num)
select * from nothing where num = 2
) dbt_internal_testErik Zaadi
12/04/2023, 3:00 PMmichael böhm
12/04/2023, 3:06 PMmichael böhm
12/07/2023, 8:07 AMErik Zaadi
12/07/2023, 8:11 AM