It appears fct_rejoining_of_upstream_concepts is trying to filter out exposures and metrics here but it's filtering using ('exposures', 'metrics') when it looks like parent_resource_type and child_resource_type are actually exposure and metric (non-plural). Because of this, the filter isn't working properly.
Steps to reproduce
We have an exposure in our dbt project and it's failing the rejoining_of_upstream_concepts check and I can see the resource_type is listed as 'exposure' not 'exposures'
Expected results
Exposures and Metrics successfully ignored by the rejoining_of_upstream_concepts test.
Actual results
Exposures and Metrics are not successfully ignored by the rejoining_of_upstream_concepts test.
Describe the bug
It appears fct_rejoining_of_upstream_concepts is trying to filter out exposures and metrics here but it's filtering using
('exposures', 'metrics')
when it looks like parent_resource_type and child_resource_type are actually exposure and metric (non-plural). Because of this, the filter isn't working properly.Steps to reproduce
We have an exposure in our dbt project and it's failing the rejoining_of_upstream_concepts check and I can see the resource_type is listed as 'exposure' not 'exposures'
Expected results
Exposures and Metrics successfully ignored by the rejoining_of_upstream_concepts test.
Actual results
Exposures and Metrics are not successfully ignored by the rejoining_of_upstream_concepts test.
Screenshots and log output
System information
The contents of your
packages.yml
file: packages:package: dbt-labs/dbt_utils version: 1.0.0
package: calogica/dbt_expectations version: [">=0.8.0", "<0.9.0"]
package: dbt-labs/dbt_project_evaluator version: 0.5.0
package: mjirv/dbt_datamocktool version: 0.3.5
Which database are you using dbt with?
The output of
dbt --version
:Additional context
Are you interested in contributing the fix?
Sure