Skip to content

Commit b4e859b

Browse files
committed
more tests and docs
1 parent d2bef0c commit b4e859b

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

models/intermediate/intermediate.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,30 @@ models:
209209
value: 52
210210
group_by:
211211
- year_number
212+
- name: prior_year_iso_week_start_date
213+
description: The start date of the ISO week in the prior year as per ISO 8601
214+
tests:
215+
- not_null
216+
- dbt_expectations.expect_column_distinct_count_to_be_less_than:
217+
value: 55
218+
group_by:
219+
- year_number
220+
- dbt_expectations.expect_column_distinct_count_to_be_greater_than:
221+
value: 52
222+
group_by:
223+
- year_number
224+
- name: prior_year_iso_week_end_date
225+
description: The end date of the ISO week in the prior year as per ISO 8601
226+
tests:
227+
- not_null
228+
- dbt_expectations.expect_column_distinct_count_to_be_less_than:
229+
value: 55
230+
group_by:
231+
- year_number
232+
- dbt_expectations.expect_column_distinct_count_to_be_greater_than:
233+
value: 52
234+
group_by:
235+
- year_number
212236
- name: month_start_date
213237
description: The start date of the month
214238
tests:
@@ -284,7 +308,10 @@ models:
284308
description: The year
285309
tests:
286310
- not_null
287-
311+
- name: is_holiday
312+
description: Whether the date is a holiday
313+
tests:
314+
- not_null
288315

289316
- name: dim_time
290317
description: A dimension table of time

0 commit comments

Comments
 (0)