Skip to content

Commit

Permalink
Added run_results.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
aosingh committed Feb 22, 2024
1 parent b4cbb79 commit 993cb9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dbt_adbs_test_project/macros/run_results.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% macro fetch_run_results(model) %}
{% if model.config.materialized == 'table' %}
SELECT COUNT(*) FROM {{model.schema}}.{{model.name}}
{% endif %}
{%- endmacro -%}

0 comments on commit 993cb9a

Please sign in to comment.