From ab5e53cc7450607ab65c5ffd38305a82029f1a97 Mon Sep 17 00:00:00 2001 From: Sam Debruyn Date: Fri, 7 Oct 2022 21:58:10 +0200 Subject: [PATCH] pass summarize arg --- macros/dbt_audit_helper/compare_relations.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/dbt_audit_helper/compare_relations.sql b/macros/dbt_audit_helper/compare_relations.sql index 5912e2f..5071297 100644 --- a/macros/dbt_audit_helper/compare_relations.sql +++ b/macros/dbt_audit_helper/compare_relations.sql @@ -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) -%} @@ -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 %}