From f17338e7e9bdaea5c0eadf89060ce8ea4a19af9a Mon Sep 17 00:00:00 2001 From: ugmuka Date: Fri, 18 Oct 2024 14:27:03 +0900 Subject: [PATCH] fix: delete redundant using clause --- dbt/include/snowflake/macros/materializations/merge.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/dbt/include/snowflake/macros/materializations/merge.sql b/dbt/include/snowflake/macros/materializations/merge.sql index 57c58afdd..c8ac8d6fd 100644 --- a/dbt/include/snowflake/macros/materializations/merge.sql +++ b/dbt/include/snowflake/macros/materializations/merge.sql @@ -66,7 +66,6 @@ {% do arg_dict.update({'incremental_predicates': incremental_predicates}) %} delete from {{ target }} DBT_INTERNAL_TARGET - using {{ source }} where ( {% for predicate in incremental_predicates %} {%- if not loop.first %}and {% endif -%} {{ predicate }}