moving stuff

This commit is contained in:
Pablo Martin 2024-02-01 16:46:41 +01:00
parent dbcfb9d075
commit e6c772366b
6 changed files with 17 additions and 2 deletions

View file

@ -35,9 +35,9 @@ models:
staging:
+materialized: view
+schema: staging
working:
intermediate:
+materialized: view
+schema: working
+schema: intermediate
reporting:
+materialized: table
+schema: reporting

View file

@ -0,0 +1,15 @@
version: 2
models:
- name: int_core__deal_id_master_list
description: "The distinct list of Deal Ids present in Core, along with the count of Accounts related to it."
columns:
- name: id_deal
description: "The Deal Id."
tests:
- unique
- not_null
- name: users_with_this_id_deal
description: "The count of Superhog accounts that have this Deal Id assigned."