From 476040a4ec74fccb94217672808427822f48fb42 Mon Sep 17 00:00:00 2001 From: Kamran Malik Date: Wed, 30 Mar 2022 17:11:50 -0400 Subject: [PATCH 1/2] fix: updating star.sql file --- macros/sql/star.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/sql/star.sql b/macros/sql/star.sql index 72778b1f..6346cb00 100644 --- a/macros/sql/star.sql +++ b/macros/sql/star.sql @@ -9,6 +9,7 @@ {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #} {%- if not execute -%} {{ return('') }} + {{ return('*') }} {% endif %} {%- for col in dbt_utils.get_filtered_columns_in_relation(from, except) %} From 782adfd2b4090ea6b59a84e36437b48a631aeb4c Mon Sep 17 00:00:00 2001 From: Joel Labes Date: Wed, 6 Apr 2022 09:32:58 +1200 Subject: [PATCH 2/2] Update macros/sql/star.sql --- macros/sql/star.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/macros/sql/star.sql b/macros/sql/star.sql index 6346cb00..25e58969 100644 --- a/macros/sql/star.sql +++ b/macros/sql/star.sql @@ -8,7 +8,6 @@ {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #} {%- if not execute -%} - {{ return('') }} {{ return('*') }} {% endif %}