From a13807a1a9cc8381c04c71adb9860f7d79c9d67c Mon Sep 17 00:00:00 2001 From: Pradeep Srikakolapu Date: Mon, 27 May 2024 20:47:24 -0700 Subject: [PATCH] removing comments --- .../fabric/macros/materializations/models/table/table.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbt/include/fabric/macros/materializations/models/table/table.sql b/dbt/include/fabric/macros/materializations/models/table/table.sql index 075aea7..88f1df9 100644 --- a/dbt/include/fabric/macros/materializations/models/table/table.sql +++ b/dbt/include/fabric/macros/materializations/models/table/table.sql @@ -12,7 +12,6 @@ {% endif %} {% if (existing_relation != none) %} - -- drop the temp relations if they exist already in the database {% do adapter.drop_relation(backup_relation) %} -- Rename target relation as backup relation @@ -32,7 +31,7 @@ -- Fabric & Synapse adapters use temp relation because of lack of CTE support for CTE in CTAS, Insert -- drop temp relation if exists {% do adapter.drop_relation(tmp_relation) %} - {{ log("printing target relation - "~target_relation)}} + -- build model {% call statement('main') -%} {{ get_create_table_as_sql(False, target_relation, sql) }}