Skip to content

Commit 89116a8

Browse files
committed
more docs
1 parent aaa653b commit 89116a8

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

models/intermediate/intermediate.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,20 @@ models:
8181
- Friday
8282
- Saturday
8383
- Sunday
84+
- name: day_of_week
85+
description: The day of the week
86+
tests:
87+
- not_null
88+
- dbt_expectations.expect_column_values_to_be_between:
89+
min_value: 1
90+
max_value: 7
91+
- name: day_of_week_iso
92+
description: The day of the week according to ISO 8601
93+
tests:
94+
- not_null
95+
- dbt_expectations.expect_column_values_to_be_between:
96+
min_value: 1
97+
max_value: 7
8498
- name: day_of_year
8599
description: The day of the year
86100
tests:
@@ -103,14 +117,14 @@ models:
103117
min_value: 0
104118
max_value: 53
105119
- name: iso_week_of_year
106-
description: The ISO week of the year
120+
description: The ISO week of the year as defined by ISO 8601
107121
tests:
108122
- not_null
109123
- dbt_expectations.expect_column_values_to_be_between:
110124
min_value: 1
111125
max_value: 53
112126
- name: prior_year_iso_week_of_year
113-
description: The ISO week of the year in the prior year
127+
description: The ISO week of the year in the prior year as per ISO 8601
114128
tests:
115129
- not_null
116130
- dbt_expectations.expect_column_values_to_be_between:

0 commit comments

Comments
 (0)