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:
Joaquin Ossa 2024-12-13 10:00:08 +00:00
commit 2426d5c6fd
4 changed files with 15 additions and 0 deletions

View file

@ -87,6 +87,7 @@ with
select
upb.id_user_host,
uh.id_deal,
uh.has_user_moved_from_old_dash,
uh.new_dash_version as user_migration_phase,
uh.user_in_new_dash_since_date_utc as user_estimated_migration_date_utc,
uh.company_name,
@ -111,6 +112,7 @@ with
select
id_user_host,
id_deal,
has_user_moved_from_old_dash,
user_migration_phase,
user_estimated_migration_date_utc,
company_name,

View file

@ -2332,6 +2332,12 @@ models:
tests:
- 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
data_type: date
description: |

View file

@ -5,6 +5,7 @@ with
select
id_user_host as id_user_host,
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_estimated_migration_date_utc as user_estimated_migration_date_utc,
company_name as company_name,

View file

@ -1137,6 +1137,12 @@ models:
tests:
- 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
data_type: date
description: |