Merged PR 5507: finished updating tests in reporting model
# Description Finished updating tests in reporting model # Checklist - [x] The edited models and dependants run properly with production data. - [x] The edited models are sufficiently documented. - [x] The edited models contain PK tests, and I've ran and passed them. - [ ] I have checked for DRY opportunities with other models and docs. - [ ] I've picked the right materialization for the affected models. # Other - [ ] Check if a full-refresh is required after this PR is merged. finished updating tests in reporting model Related work items: #31122
This commit is contained in:
commit
f567b233aa
1 changed files with 1 additions and 11 deletions
|
|
@ -279,7 +279,6 @@ models:
|
||||||
description: |
|
description: |
|
||||||
"Unique Id that identifies the host."
|
"Unique Id that identifies the host."
|
||||||
data_tests:
|
data_tests:
|
||||||
- not_null
|
|
||||||
- relationships:
|
- relationships:
|
||||||
to: ref('stg_core__user')
|
to: ref('stg_core__user')
|
||||||
field: id_user
|
field: id_user
|
||||||
|
|
@ -403,7 +402,6 @@ models:
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "Superhog code that uniquely identifies a single accommodation."
|
description: "Superhog code that uniquely identifies a single accommodation."
|
||||||
data_tests:
|
data_tests:
|
||||||
- not_null
|
|
||||||
- relationships:
|
- relationships:
|
||||||
to: ref('stg_core__accommodation')
|
to: ref('stg_core__accommodation')
|
||||||
field: id_accommodation
|
field: id_accommodation
|
||||||
|
|
@ -415,26 +413,18 @@ models:
|
||||||
- name: check_in_at_utc
|
- name: check_in_at_utc
|
||||||
data_type: timestamp without time zone
|
data_type: timestamp without time zone
|
||||||
description: "Timestamp of the check-in date in UTC of the booking."
|
description: "Timestamp of the check-in date in UTC of the booking."
|
||||||
data_tests:
|
|
||||||
- not_null
|
|
||||||
|
|
||||||
- name: check_in_date_utc
|
- name: check_in_date_utc
|
||||||
data_type: date
|
data_type: date
|
||||||
description: "Date of the check-in date in UTC of the booking."
|
description: "Date of the check-in date in UTC of the booking."
|
||||||
data_tests:
|
|
||||||
- not_null
|
|
||||||
|
|
||||||
- name: check_out_at_utc
|
- name: check_out_at_utc
|
||||||
data_type: timestamp without time zone
|
data_type: timestamp without time zone
|
||||||
description: "Timestamp of the check-out date in UTC of the booking."
|
description: "Timestamp of the check-out date in UTC of the booking."
|
||||||
data_tests:
|
|
||||||
- not_null
|
|
||||||
|
|
||||||
- name: check_out_date_utc
|
- name: check_out_date_utc
|
||||||
data_type: date
|
data_type: date
|
||||||
description: "Date of the check-out date in UTC of the booking."
|
description: "Date of the check-out date in UTC of the booking."
|
||||||
data_tests:
|
|
||||||
- not_null
|
|
||||||
|
|
||||||
- name: id_booking
|
- name: id_booking
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue