You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run dbt build --select package:dbt_project_evaluator
Expected results
The following tables should be empty as a result of the exceptions configured:
fct_exposures_dependent_on_private_models
fct_undocumented_public_models
fct_public_models_without_contract
fct_root_models
Actual results
Only fct_root_models is empty (as a control). The other tables contain results for model_1 and model_2 as if they were not in the exceptions file (exposure_1 depends on the protected model_2; model_1 is public but undocumented; model_1 is public but has no contract).
I think this is as simple as changing the last line of the models in question from {{ filter_exceptions(this) }} to {{ filter_exceptions(model.name) }}, but I'm not confident enough in my understanding of dbt to say that this wouldn't break something else.
The text was updated successfully, but these errors were encountered:
Describe the bug
Exceptions to models in the
governance
section defined in the dbt_project_evaluator_exceptions.csv file are not respected.Steps to reproduce
dbt seed
dbt build --select package:dbt_project_evaluator
Expected results
The following tables should be empty as a result of the exceptions configured:
fct_exposures_dependent_on_private_models
fct_undocumented_public_models
fct_public_models_without_contract
fct_root_models
Actual results
Only
fct_root_models
is empty (as a control). The other tables contain results for model_1 and model_2 as if they were not in the exceptions file (exposure_1 depends on the protected model_2; model_1 is public but undocumented; model_1 is public but has no contract).System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:Additional context
Are you interested in contributing the fix?
I think this is as simple as changing the last line of the models in question from
{{ filter_exceptions(this) }}
to{{ filter_exceptions(model.name) }}
, but I'm not confident enough in my understanding of dbt to say that this wouldn't break something else.The text was updated successfully, but these errors were encountered: