Skip to content

Commit

Permalink
adding tests to models
Browse files Browse the repository at this point in the history
  • Loading branch information
vishreddy01 committed Mar 6, 2024
1 parent de58662 commit f0d81f1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pmt/dbt/pmt_dbt/snapshots/dpl/qa_dpl_pmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2

models:
- name: dim_org
description: This dimension hold organization unit information extracted from FTA
columns:
- name: org_unit_code
description: This column acts as primary key along with src_sys_code
tests:
- unique
- not_null
- name: src_sys_code
description: Source system code. This column acts as primary key along with org_unit_code.
tests:
- accepted_values:
values:
- CORP

- name: dim_source_system
description: >-
This table holds the values for each source system for X-NRS report. Below are source systems values
columns:
- name: src_sys_code
tests:
- unique
- not_null
- name: src_sys_description
tests:
- unique
- not_null


0 comments on commit f0d81f1

Please sign in to comment.