data-dwh-dbt-project/models
Oriol Roqué Paniagua 03797827a4 Merged PR 3396: Changes claims and logic to consider user is in new dash
# Description

Considers the 2 Claims NewDashVersion and NewDashMoveDate as sources of truth, removing the previous (crazy) logic.

If a user has the claim NewDashVersion, then it's in New Dash. The claim value will also provide the version in which the user appeared (MVP, V2, etc)

If a user has the NewDashMoveDate, it means it has moved from Old Dash. If not, but still has NewDashVersion, it means the user was directly created in New Dash.

The models now provide logic to handle these cases, and it's propagated downstream will ensuring reporting will still work.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [NOT AT ALL] The edited models contain PK tests, and I've ran and passed them. **MANY ISSUES ON PRODUCTION CURRENTLY**
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Changes claims and logic to consider user is in new dash. Downstream propagation included

Related work items: #23457
2024-10-31 15:45:28 +00:00
..
intermediate Merged PR 3396: Changes claims and logic to consider user is in new dash 2024-10-31 15:45:28 +00:00
reporting Merged PR 3290: Update exposure of top losers - now account managers overview 2024-10-22 14:14:58 +00:00
staging Merged PR 3207: Cast as dates and timestamps for hubspot deals in staging 2024-10-16 14:57:36 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00