Skip to content

Commit 4204e00

Browse files
committed
updates for dbt 14.0.1
1 parent 7aa5e47 commit 4204e00

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

dbt/include/sqlserver/macros/materializations/snapshot/strategies.sql

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
{% endfor %}), 2)
55
{% endmacro %}
66

7-
8-
{% macro snapshot_check_strategy(node, snapshotted_rel, current_rel, config) %}
7+
{% macro snapshot_check_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}
98
{% set check_cols_config = config['check_cols'] %}
109
{% set primary_key = config['unique_key'] %}
1110
{% set updated_at = snapshot_get_time() %}
@@ -23,7 +22,7 @@
2322
{% for col in check_cols %}
2423
{{ snapshotted_rel }}.{{ col }} != {{ current_rel }}.{{ col }}
2524
or
26-
({{ snapshotted_rel }}.{{ col }} is null) AND NOT ({{ current_rel }}.{{ col }} is null)
25+
({{ snapshotted_rel }}.{{ col }} is null) and not ({{ current_rel }}.{{ col }} is null)
2726
{%- if not loop.last %} or {% endif %}
2827

2928
{% endfor %}
@@ -38,6 +37,4 @@
3837
"row_changed": row_changed_expr,
3938
"scd_id": scd_id_expr
4039
}) %}
41-
{% endmacro %}
42-
43-
40+
{% endmacro %}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from distutils.core import setup
44

55
package_name = "dbt-sqlserver"
6-
package_version = "0.14.0"
6+
package_version = "0.14.1"
77
description = """A sqlserver adpter plugin for dbt (data build tool)"""
88

99
setup(
@@ -25,7 +25,7 @@
2525
]
2626
},
2727
install_requires=[
28-
'dbt-core>=0.14.0',
28+
'dbt-core>=0.14.1',
2929
'pyodbc>=4.0.27',
3030
]
3131
)

0 commit comments

Comments
 (0)