add doc mds

This commit is contained in:
Sedaghatfar 2022-08-24 21:58:04 -04:00
parent e8c09f2c7b
commit d73f1d2d96
4 changed files with 19 additions and 4 deletions

View File

@ -0,0 +1,5 @@
{% docs daily_active_contracts %}
The daily number of active contracts.
{% enddocs %}

View File

@ -0,0 +1,5 @@
{% docs monthly_active_contracts %}
The number of active contracts for the month of the date.
{% enddocs %}

View File

@ -0,0 +1,5 @@
{% docs weekly_active_contracts %}
The number of active contracts for the week of the date.
{% enddocs %}

View File

@ -6,7 +6,7 @@ models:
columns:
- name: DATE
description: The date (day).
description: "{{ doc('date')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
@ -14,7 +14,7 @@ models:
- TIMESTAMP_NTZ
- name: DAILY_ACTIVE_CONTRACTS
description: The daily number of active Contracts
description: "{{ doc('daily_active_contracts')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
@ -23,7 +23,7 @@ models:
- FLOAT
- name: WEEKLY_ACTIVE_CONTRACTS
description: The number of active contracts for week of the date.
description: "{{ doc('weekly_active_contracts')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
@ -32,7 +32,7 @@ models:
- FLOAT
- name: MONTHLY_ACTIVE_CONTRACTS
description: The number of active contracts for month of the date.
description: "{{ doc('monthly_active_contracts')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list: