We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53134ce commit 8787167Copy full SHA for 8787167
dbt/include/sqlserver/macros/materializations/snapshot/strategies.sql
@@ -22,7 +22,11 @@
22
{% for col in check_cols %}
23
{{ snapshotted_rel }}.{{ col }} != {{ current_rel }}.{{ col }}
24
or
25
- ({{ snapshotted_rel }}.{{ col }} is null) and not ({{ current_rel }}.{{ col }} is null)
+ (
26
+ (({{ snapshotted_rel }}.{{ col }} is null) and not ({{ current_rel }}.{{ col }} is null))
27
+ or
28
+ ((not {{ snapshotted_rel }}.{{ col }} is null) and ({{ current_rel }}.{{ col }} is null))
29
+ )
30
{%- if not loop.last %} or {% endif %}
31
32
{% endfor %}
0 commit comments