File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
{% macro test_equality(model, arg) %}
2
2
3
3
4
+ {# -- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}
5
+ {%- if not execute - %}
6
+ {{ return(' ' ) }}
7
+ {% endif %}
4
8
5
9
-- setup
6
10
Original file line number Diff line number Diff line change 1
1
{% macro star(from , except= []) - %}
2
2
3
+ {# -- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}
4
+ {%- if not execute - %}
5
+ {{ return(' ' ) }}
6
+ {% endif %}
7
+
3
8
{%- if from .name - %}
4
9
{%- set schema_name, table_name = from .schema, from .name - %}
5
10
{%- else - %}
Original file line number Diff line number Diff line change 1
1
{% macro union_tables(tables, column_override= none, exclude= none) - %}
2
2
3
+ {# -- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}
4
+ {%- if not execute - %}
5
+ {{ return(' ' ) }}
6
+ {% endif %}
7
+
3
8
{%- set exclude = exclude if exclude is not none else [] %}
4
9
{%- set column_override = column_override if column_override is not none else {} %}
5
10
You can’t perform that action at this time.
0 commit comments