Merged PR 5505: Remove new deals without lifecycle
# Description Small change to remove new deals without lifecycle state due to joining Truvi late yesterday but showing in Hubspot with effective date early today # 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. Related work items: #31340
This commit is contained in:
commit
a279e78fa2
1 changed files with 5 additions and 1 deletions
|
|
@ -2344,7 +2344,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