Skip to content

Commit

Permalink
pass summarize arg
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebruyn committed Oct 7, 2022
1 parent 79c411d commit ab5e53c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/dbt_audit_helper/compare_relations.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% macro sqlserver__compare_relations(a_relation, b_relation, exclude_columns=[], primary_key=None) %}
{% macro sqlserver__compare_relations(a_relation, b_relation, exclude_columns=[], primary_key=None, summarize=true) %}

{%- set a_columns = adapter.get_columns_in_relation(a_relation) -%}

Expand All @@ -20,6 +20,6 @@ select
from {{ b_relation }}
{% endset %}

{{ tsql_utils.sqlserver__compare_queries(a_query, b_query, primary_key) }}
{{ tsql_utils.sqlserver__compare_queries(a_query, b_query, primary_key, summarize) }}

{% endmacro %}

0 comments on commit ab5e53c

Please sign in to comment.