Skip to content

exposure_schema_validity test does not respect 'node' propertyΒ #2077

@data-blade

Description

@data-blade

Describe the bug
given exposure_a that...

  • lists model_a and model_b in depends_on
  • lists columns from both models in referenced_columns, using the node property for each

running exposure_schema_validity, set as test on model_a, will fail, since the referenced columns of model_b will be reported as missing

To Reproduce
create a simple setup with exposure_a, model_a and model_b as described above

Expected behavior
the test should not fail due to missing columns, since those are correctly linked to the respective node as described in the docs

Screenshots
n/a

Environment (please complete the following information):

  • Elementary CLI (edr) version: 0.20.1
  • Elementary dbt package version: 0.21.0
  • dbt version you're using: 1.11.0-rc3
  • Data warehouse: databricks -> dbt-databricks 1.11.3
  • Infrastructure details: ?

Additional context
n/a

Would you be willing to contribute a fix for this issue?
if time allows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions