@@ -312,6 +312,33 @@ models:
312
312
description : Whether the date is a holiday
313
313
tests :
314
314
- not_null
315
+ - name : date_day
316
+ description : The key date for this dimension
317
+ tests :
318
+ - not_null
319
+ - unique
320
+ - dbt_expectations.expect_column_values_to_be_increasing
321
+ - name : prior_date_day
322
+ description : One day before the date_day
323
+ tests :
324
+ - not_null
325
+ - dbt_expectations.expect_column_values_to_be_increasing
326
+ - name : next_date_day
327
+ description : One day after the date_day
328
+ tests :
329
+ - not_null
330
+ - dbt_expectations.expect_column_values_to_be_increasing
331
+ - name : prior_year_date_day
332
+ description : One year before the date_day
333
+ tests :
334
+ - not_null
335
+ - dbt_expectations.expect_column_values_to_be_increasing :
336
+ strictly : false
337
+ - name : prior_year_over_year_date_day
338
+ description : 364 days before the date_day
339
+ tests :
340
+ - not_null
341
+ - dbt_expectations.expect_column_values_to_be_increasing
315
342
316
343
- name : dim_time
317
344
description : A dimension table of time
@@ -377,32 +404,6 @@ models:
377
404
- afternoon
378
405
- evening
379
406
- 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
401
- - name : prior_year_over_year_date_day
402
- description : 364 days before the date_day
403
- tests :
404
- - not_null
405
- - dbt_expectations.expect_column_values_to_be_increasing
406
407
407
408
- name : fct_electricity
408
409
description : Electricity usage data coming from Fluvius, by quarter
0 commit comments