Skip to content

Commit b63a562

Browse files
authored
Remove duplicated unique test (#108)
* Remove duplicated unique test * Use unique_combination_of_columns instead
1 parent 7604394 commit b63a562

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

models/page_views/schema.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ models:
1313
tests:
1414
- not_null
1515

16-
- name: domain_sessionid
17-
tests:
18-
- not_null
19-
2016
- name: domain_sessionid
2117
tests:
2218
- not_null
@@ -54,8 +50,10 @@ models:
5450

5551
- name: snowplow_web_page_context
5652
tests:
57-
- unique:
58-
column_name: "concat(page_view_id, root_id)"
53+
- dbt_utils.unique_combination_of_columns:
54+
combination_of_columns:
55+
- page_view_id
56+
- root_id
5957

6058
columns:
6159
- name: page_view_id

0 commit comments

Comments
 (0)