From 9c2be851a32fc8cdc2bfdf57e8da4cddeed9cc92 Mon Sep 17 00:00:00 2001 From: niteshy Date: Wed, 7 Jun 2023 12:12:21 -0700 Subject: [PATCH] DBT-698: Removing the optional semicolon, that doesn't work with impala UA (#173) Co-authored-by: Nitesh Yadav --- dbt/include/impala/macros/adapters.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dbt/include/impala/macros/adapters.sql b/dbt/include/impala/macros/adapters.sql index ba85fd0..53ac921 100644 --- a/dbt/include/impala/macros/adapters.sql +++ b/dbt/include/impala/macros/adapters.sql @@ -171,7 +171,6 @@ {{ ct_option_tbl_properties(label="tblproperties") }} as {{ sql }} - ; {%- endmacro %} {% macro impala__create_view_as(relation, sql) -%} @@ -186,7 +185,6 @@ {{ ct_option_comment_relation(label="comment") }} as {{ sql }} - ; {%- endmacro %} {% macro impala__create_schema(relation) -%} @@ -257,7 +255,7 @@ drop table if exists {{ to_relation }} {% endcall %} {% call statement('drop_relation_if_exists_view') %} - drop view if exists {{ to_relation }}; + drop view if exists {{ to_relation }} {% endcall %} {% call statement('rename_relation') -%} {% if not from_rel_type %}