Skip to content

Commit

Permalink
fix(incremental): replicated delete_insert
Browse files Browse the repository at this point in the history
Savid committed Jan 17, 2024
1 parent c522eb3 commit 6125272
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -249,8 +249,8 @@
delete from {{ existing_local }} {{ on_cluster_clause(existing_relation) }} where ({{ unique_key }}) in (select {{ unique_key }}
from {{ inserting_relation }})
{% else %}
delete from {{ existing_relation }} where ({{ unique_key }}) in (select {{ unique_key }}
from {{ inserting_relation }})
delete from {{ existing_relation }} {{ on_cluster_clause() }} where ({{ unique_key }}) in (select {{ unique_key }}
from {{ new_data_relation }})
{% endif %}
{%- if incremental_predicates %}
{% for predicate in incremental_predicates %}

0 comments on commit 6125272

Please sign in to comment.