Skip to content

Commit

Permalink
Remove duplicated unique test (#108)
Browse files Browse the repository at this point in the history
* Remove duplicated unique test

* Use unique_combination_of_columns instead
  • Loading branch information
jtcohen6 authored Nov 17, 2021
1 parent 7604394 commit b63a562
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions models/page_views/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ models:
tests:
- not_null

- name: domain_sessionid
tests:
- not_null

- name: domain_sessionid
tests:
- not_null
Expand Down Expand Up @@ -54,8 +50,10 @@ models:

- name: snowplow_web_page_context
tests:
- unique:
column_name: "concat(page_view_id, root_id)"
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- page_view_id
- root_id

columns:
- name: page_view_id
Expand Down

0 comments on commit b63a562

Please sign in to comment.