File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ import pytest
2
+ from dbt .tests .adapter .incremental .test_incremental_on_schema_change import (
3
+ BaseIncrementalOnSchemaChange ,
4
+ )
5
+ from dbt .tests .adapter .incremental .test_incremental_predicates import BaseIncrementalPredicates
1
6
from dbt .tests .adapter .incremental .test_incremental_unique_id import BaseIncrementalUniqueKey
2
7
3
8
4
9
class TestBaseIncrementalUniqueKeySQLServer (BaseIncrementalUniqueKey ):
5
10
pass
11
+
12
+
13
+ class TestIncrementalOnSchemaChangeSQLServer (BaseIncrementalOnSchemaChange ):
14
+ pass
15
+
16
+
17
+ class TestIncrementalPredicatesDeleteInsertSQLServer (BaseIncrementalPredicates ):
18
+ pass
19
+
20
+
21
+ class TestPredicatesDeleteInsertSQLServer (BaseIncrementalPredicates ):
22
+ @pytest .fixture (scope = "class" )
23
+ def project_config_update (self ):
24
+ return {"models" : {"+predicates" : ["id != 2" ], "+incremental_strategy" : "delete+insert" }}
You can’t perform that action at this time.
0 commit comments