2023-11-08 20:57:52 +00:00
|
|
|
version: 2
|
|
|
|
|
|
|
|
|
|
models:
|
2023-11-13 22:34:23 +00:00
|
|
|
- name: atlas__fact_maas
|
2023-11-08 20:57:52 +00:00
|
|
|
description: |-
|
2025-01-06 18:49:49 +00:00
|
|
|
Deprecating Soon - these tables previously supported NEAR Atlas which is no longer live. These tables will be removed on Febreary 1, 2025.
|
|
|
|
|
Please cease using these tables.
|
2024-02-08 22:58:52 +00:00
|
|
|
tests:
|
|
|
|
|
- dbt_utils.recency:
|
|
|
|
|
datepart: days
|
|
|
|
|
field: inserted_timestamp
|
|
|
|
|
interval: 1
|
2023-11-08 20:57:52 +00:00
|
|
|
|
|
|
|
|
columns:
|
2023-11-13 22:34:23 +00:00
|
|
|
- name: fact_maas_id
|
2023-11-09 21:32:12 +00:00
|
|
|
description: "{{ doc('id') }}"
|
|
|
|
|
tests:
|
2024-02-08 22:58:52 +00:00
|
|
|
- not_null:
|
2024-02-09 00:36:36 +00:00
|
|
|
where: inserted_timestamp BETWEEN SYSDATE() - INTERVAL '7 days' AND SYSDATE() - INTERVAL '2 hours'
|
2024-02-08 22:58:52 +00:00
|
|
|
- unique:
|
2024-02-09 00:36:36 +00:00
|
|
|
where: inserted_timestamp BETWEEN SYSDATE() - INTERVAL '7 days' AND SYSDATE() - INTERVAL '2 hours'
|
2023-11-09 21:32:12 +00:00
|
|
|
|
2023-11-09 21:37:59 +00:00
|
|
|
- name: day
|
2023-11-08 20:57:52 +00:00
|
|
|
description: "{{ doc('active_day') }}"
|
|
|
|
|
tests:
|
|
|
|
|
- not_null
|
|
|
|
|
- unique
|
|
|
|
|
|
|
|
|
|
- name: maa
|
|
|
|
|
description: "{{ doc('maa')}}"
|
|
|
|
|
tests:
|
|
|
|
|
- not_null
|
|
|
|
|
|
|
|
|
|
- name: new_maas
|
|
|
|
|
description: "{{ doc('new_maas') }}"
|
|
|
|
|
tests:
|
|
|
|
|
- not_null
|
|
|
|
|
|
|
|
|
|
- name: returning_maas
|
|
|
|
|
description: "{{ doc('returning_maas') }}"
|
|
|
|
|
tests:
|
|
|
|
|
- not_null
|
|
|
|
|
|
|
|
|
|
- name: inserted_timestamp
|
|
|
|
|
description: "{{ doc('inserted_timestamp') }}"
|
|
|
|
|
|
|
|
|
|
- name: modified_timestamp
|
|
|
|
|
description: "{{ doc('modified_timestamp') }}"
|