Modified test
This commit is contained in:
parent
ecf38144cb
commit
147197c92d
2 changed files with 6 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ with
|
|||
left join atpb_aggregation atpb on upb.id_user_host = atpb.id_user_host
|
||||
left join btpb_aggregation btpb on upb.id_user_host = btpb.id_user_host
|
||||
inner join int_core__user_host uh on upb.id_user_host = uh.id_user_host
|
||||
inner join int_kpis__lifecycle_daily_deal kldd on uh.id_deal = kldd.id_deal
|
||||
left join int_kpis__lifecycle_daily_deal kldd on uh.id_deal = kldd.id_deal
|
||||
),
|
||||
user_with_boolean_features as (
|
||||
select
|
||||
|
|
|
|||
|
|
@ -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