From 1793e06c6fe866aacd4920a6e3b11c99d5df44e8 Mon Sep 17 00:00:00 2001 From: Drew Banin Date: Tue, 12 Jun 2018 15:34:39 -0400 Subject: [PATCH] dont run in parsing for equality schema test --- macros/schema_tests/equality.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macros/schema_tests/equality.sql b/macros/schema_tests/equality.sql index 6ce516761ac..06df33bceda 100644 --- a/macros/schema_tests/equality.sql +++ b/macros/schema_tests/equality.sql @@ -1,6 +1,10 @@ {% macro test_equality(model, arg) %} +{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #} +{%- if not execute -%} + {{ return('') }} +{% endif %} -- setup