data-dwh-dbt-project/models/intermediate
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
..
athena docs for athena int 2024-10-08 14:54:11 +02:00
core Merged PR 3396: Changes claims and logic to consider user is in new dash 2024-10-31 15:45:28 +00:00
cross Merged PR 3373: Setting current KPIs models for deprecation 2024-10-30 08:54:59 +00:00
edeposit move docs for int_edeposit__guesty_verifications 2024-10-08 14:45:50 +02:00
hubspot Merged PR 3194: First version of Hubspot deals in intermediate 2024-10-16 12:15:14 +00:00
kpis Merged PR 3391: Adds Check-Out, Cancelled and Billable Bookings 2024-10-31 14:31:19 +00:00
xero Merged PR 3373: Setting current KPIs models for deprecation 2024-10-30 08:54:59 +00:00