From 81f68e65f7b9eb0c39b9bf11be69633838e49557 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Mon, 25 Sep 2023 15:40:06 +0100 Subject: [PATCH] formatting get_show_sql macro --- core/dbt/include/global_project/macros/adapters/show.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/dbt/include/global_project/macros/adapters/show.sql b/core/dbt/include/global_project/macros/adapters/show.sql index d71aa3a7572..2e23a919d29 100644 --- a/core/dbt/include/global_project/macros/adapters/show.sql +++ b/core/dbt/include/global_project/macros/adapters/show.sql @@ -1,6 +1,9 @@ {% macro get_show_sql(compiled_code, sql_header, limit) -%} {%- set sql_header = sql_header -%} {{ sql_header if sql_header is not none }} + {%- if sql_header -%} + {{ sql_header }} + {%- endif -%} {%- if limit is not none -%} {{ get_limit_subquery_sql(compiled_code, limit) }} {%- else -%}