Skip to content

Commit

Permalink
feat: SEMANTIC-154 - Add properties file for calendar model
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill.avilenko.kitopi committed Feb 28, 2023
1 parent ffadc09 commit ba330da
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions models/dbt_metrics_default_calendar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2

models:
- name: dbt_metrics_default_calendar
description: |
An auto generated calendar table that used for metrics.
columns:
- name: DATE_DAY
description: "Date"
tests:
- not_null
- unique
- name: DATE_WEEK
description: "Date truncated into week"
- name: DATE_MONTH
description: "Date truncated into month"
- name: DATE_QUARTER
description: "Date truncated into quarter"
- name: DATE_YEAR
description: "Date truncated into year"

0 comments on commit ba330da

Please sign in to comment.