From d5257656657be331f8cc53ee379deffbdd07f56e Mon Sep 17 00:00:00 2001 From: Nitesh Yadav Date: Tue, 6 Jun 2023 13:06:46 -0700 Subject: [PATCH] DBT-698: Removing the optional semicolon, that doesn't work with impala UA --- 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 %}