Skip to content

Commit d2bef0c

Browse files
committed
more docs and tests
1 parent 850f362 commit d2bef0c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

models/intermediate/intermediate.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,33 @@ models:
257257
value: 4
258258
group_by:
259259
- year_number
260+
- name: year_start_date
261+
description: The start date of the year
262+
tests:
263+
- not_null
264+
- dbt_expectations.expect_column_distinct_count_to_equal:
265+
value: 1
266+
group_by:
267+
- year_number
268+
- name: year_end_date
269+
description: The end date of the year
270+
tests:
271+
- not_null
272+
- dbt_expectations.expect_column_distinct_count_to_equal:
273+
value: 1
274+
group_by:
275+
- year_number
276+
- name: quarter_of_year
277+
description: The quarter of the year
278+
tests:
279+
- not_null
280+
- dbt_expectations.expect_column_values_to_be_between:
281+
min_value: 1
282+
max_value: 4
283+
- name: year_number
284+
description: The year
285+
tests:
286+
- not_null
260287

261288

262289
- name: dim_time

0 commit comments

Comments
 (0)