Skip to content

Commit 32ff7c0

Browse files
committed
more tests and docs
1 parent b4e859b commit 32ff7c0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

models/intermediate/intermediate.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,27 @@ models:
377377
- afternoon
378378
- evening
379379
- night
380+
- name: date_day
381+
description: The key date for this dimension
382+
tests:
383+
- not_null
384+
- unique
385+
- dbt_expectations.expect_column_values_to_be_increasing
386+
- name: prior_date_day
387+
description: One day before the date_day
388+
tests:
389+
- not_null
390+
- dbt_expectations.expect_column_values_to_be_increasing
391+
- name: next_date_day
392+
description: One day after the date_day
393+
tests:
394+
- not_null
395+
- dbt_expectations.expect_column_values_to_be_increasing
396+
- name: prior_year_date_day
397+
description: One year before the date_day
398+
tests:
399+
- not_null
400+
- dbt_expectations.expect_column_values_to_be_increasing
380401

381402
- name: fct_electricity
382403
description: Electricity usage data coming from Fluvius, by quarter

0 commit comments

Comments
 (0)