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 8fbf26c commit 41d06a0Copy full SHA for 41d06a0
tests/dbt/test_transformation.py
@@ -177,12 +177,12 @@ def test_model_kind():
177
expected_sqlmesh_predicate = parse_one(
178
"__MERGE_TARGET__.session_start > DATEADD(day, -7, CURRENT_DATE)"
179
)
180
- ModelConfig(
+ assert ModelConfig(
181
materialized=Materialization.INCREMENTAL,
182
unique_key=["bar"],
183
incremental_strategy="merge",
184
dialect="postgres",
185
- merge_filter=[dbt_incremental_predicate],
+ incremental_predicates=[dbt_incremental_predicate],
186
).model_kind(context) == IncrementalByUniqueKeyKind(
187
188
0 commit comments