We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf79a81 commit a2b6684Copy full SHA for a2b6684
macros/sql/union.sql
@@ -61,7 +61,7 @@
61
62
{%- set ordered_column_names = column_superset.keys() -%}
63
64
- {%- if not column_superset.keys() -%}
+ {% if (include | length > 0 or exclude | length > 0) and not column_superset.keys() %}
65
{%- set relations_string -%}
66
{%- for relation in relations -%}
67
{{ relation.name }}
0 commit comments