Skip to content

Commit

Permalink
Merge pull request #1 from oaknorthbank/fix-on-run-end
Browse files Browse the repository at this point in the history
Fix table reference for BigQuery compatibility
  • Loading branch information
tomwphillips authored Oct 2, 2024
2 parents 6be0a27 + dbe13e4 commit a8f5bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/on-run-end/print_dbt_project_evaluator_issues.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% set db_schema = model_database ~ "." ~ model_schema if model_database else model_schema %}

{% set sql_statement %}
select * from {{db_schema}}.{{name_model_checked}}
select * from {{ model_details['relation_name'] }}
{% endset %}

{% set query_results = run_query(sql_statement) %}
Expand All @@ -53,4 +53,4 @@
{{ print("\n") }}
{%- endif %}

{% endmacro %}
{% endmacro %}

0 comments on commit a8f5bf0

Please sign in to comment.