Merged PR 3843: Added the has_user_moved_from_old_dash field
# Description Added the has_user_moved_from_old_dash field for the PBI report # 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. Added the has_user_moved_from_old_dash field Related work items: #25191
This commit is contained in:
commit
2426d5c6fd
4 changed files with 15 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ with
|
||||||
select
|
select
|
||||||
upb.id_user_host,
|
upb.id_user_host,
|
||||||
uh.id_deal,
|
uh.id_deal,
|
||||||
|
uh.has_user_moved_from_old_dash,
|
||||||
uh.new_dash_version as user_migration_phase,
|
uh.new_dash_version as user_migration_phase,
|
||||||
uh.user_in_new_dash_since_date_utc as user_estimated_migration_date_utc,
|
uh.user_in_new_dash_since_date_utc as user_estimated_migration_date_utc,
|
||||||
uh.company_name,
|
uh.company_name,
|
||||||
|
|
@ -111,6 +112,7 @@ with
|
||||||
select
|
select
|
||||||
id_user_host,
|
id_user_host,
|
||||||
id_deal,
|
id_deal,
|
||||||
|
has_user_moved_from_old_dash,
|
||||||
user_migration_phase,
|
user_migration_phase,
|
||||||
user_estimated_migration_date_utc,
|
user_estimated_migration_date_utc,
|
||||||
company_name,
|
company_name,
|
||||||
|
|
|
||||||
|
|
@ -2332,6 +2332,12 @@ models:
|
||||||
tests:
|
tests:
|
||||||
- not_null
|
- not_null
|
||||||
|
|
||||||
|
- name: has_user_moved_from_old_dash
|
||||||
|
data_type: boolean
|
||||||
|
description: |
|
||||||
|
Flag to determine if this user host is in New Dash and has
|
||||||
|
been moved from the old dash.
|
||||||
|
|
||||||
- name: user_estimated_migration_date_utc
|
- name: user_estimated_migration_date_utc
|
||||||
data_type: date
|
data_type: date
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ with
|
||||||
select
|
select
|
||||||
id_user_host as id_user_host,
|
id_user_host as id_user_host,
|
||||||
id_deal as id_deal,
|
id_deal as id_deal,
|
||||||
|
has_user_moved_from_old_dash as has_user_moved_from_old_dash,
|
||||||
user_migration_phase as user_migration_phase,
|
user_migration_phase as user_migration_phase,
|
||||||
user_estimated_migration_date_utc as user_estimated_migration_date_utc,
|
user_estimated_migration_date_utc as user_estimated_migration_date_utc,
|
||||||
company_name as company_name,
|
company_name as company_name,
|
||||||
|
|
|
||||||
|
|
@ -1137,6 +1137,12 @@ models:
|
||||||
tests:
|
tests:
|
||||||
- not_null
|
- not_null
|
||||||
|
|
||||||
|
- name: has_user_moved_from_old_dash
|
||||||
|
data_type: boolean
|
||||||
|
description: |
|
||||||
|
Flag to determine if this user host is in New Dash and has
|
||||||
|
been moved from the old dash.
|
||||||
|
|
||||||
- name: user_estimated_migration_date_utc
|
- name: user_estimated_migration_date_utc
|
||||||
data_type: date
|
data_type: date
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue