dbt-labs / dbt-project-evaluator

This package contains macros and models to find DAG issues automatically
https://dbt-labs.github.io/dbt-project-evaluator/latest/
Apache License 2.0
447 stars 67 forks source link

Fix `print_dbt_project_evaluator_issues` for BigQuery #503

Closed tomwphillips closed 3 weeks ago

tomwphillips commented 1 month ago

This is a:

Link to Issue

Closes #502.

Description & motivation

The print_dbt_project_evaluator_issues macro doesn't reference the resource correctly on BigQuery. Specifically, it misses the backticks in select ... fromproject.dataset.table``. This PR fixes it.

Unsure how to test this without re-working the macro quite substantially. AFAICT, no existing tests either. Open to discussion.

Integration Test Screenshot

See attached logs:

Checklist

tomwphillips commented 3 weeks ago

Thanks for merging this! 🙇