Merged PR 5508: Finished reporting tests
# Description Finished reporting tests for lifecycle # 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 reporting tests Related work items: #31340
This commit is contained in:
commit
6924d927c3
1 changed files with 5 additions and 1 deletions
|
|
@ -990,7 +990,11 @@ models:
|
|||
01-New, 02-Never Booked, 04-Active, 05-Churning, 06-Inactive,
|
||||
07-Reactivated, 99-Not in Husbpot.
|
||||
data_tests:
|
||||
- not_null
|
||||
- not_null:
|
||||
# Exclude the users that have been migrated
|
||||
# in the last 24 hours, since they might not yet be in
|
||||
# HubSpot and thus the lifecycle state is not yet set.
|
||||
where: "user_estimated_migration_date_utc <> current_date - INTERVAL '1 day'"
|
||||
- accepted_values:
|
||||
values:
|
||||
- 01-New
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue