data-dwh-dbt-project/models/reporting/core
Oriol Roqué Paniagua a8927b7a44 Merged PR 5463: New Dash user categorisation + revamp model
# Description

Fixes:
* There was a data quality issue in which active listings with bundles were showing more listings than the total active listings. This has been fixed, plus a bunch of tests have been added to make sure this does not happen again.
* There's a field that reaches the 63 character limit. I modified "paid" per "upgraded" which reduces this to intermediate model; however in reporting I need to keep as is to avoid breaking PBI. I did change the name of the field in the schema so tests/docs work well and explicitly mention this in the doc. This will need adaptation but can be done in the future.
* There was tons of dead code tagged as to be deleted that was not deleted, not sure why or when. Anyway this is dropped now. It's not used in PBI except for the fact that columns are dropped in the data model, so we might have a bit of down time to just remove these.
* Few fields were not displayed correctly in dbt docs.

What's new:
* New user categorisation as an alert-based system. This can be enhanced in the future but so far it covers hell of a lot of cases. This also includes data quality alerts (deal not in HS, or account defaults to MVP launch).
* MVP Launch date moved to project yaml since it's a very standard date.

# 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.
- [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.

Related work items: #30407
2025-06-13 14:05:30 +00:00
..
core__accommodations_activity.sql Listings report model 2025-02-03 10:37:25 +01:00
core__active_property_managers_system.sql renamed field 2025-02-19 11:57:58 +01:00
core__booking_details.sql renamed 2025-02-05 16:06:29 +01:00
core__bookings.sql a lot of changes 2024-04-04 16:33:08 +02:00
core__check_in_cover_listings.sql Creating model in reporting 2024-07-25 11:34:07 +02:00
core__check_in_cover_users.sql Merged PR 2201: Fixing errors raised by texts 2024-07-05 15:12:04 +00:00
core__guest_journey_payments.sql Merged PR 5191: Guest Journey Payments to reporting 2025-05-13 07:40:53 +00:00
core__guest_satisfaction_responses.sql Added booking_source to reporting model core__guest_satisfaction_responses 2024-07-15 08:54:11 +02:00
core__host_booking_fees.sql Modified filter and table used 2024-08-01 14:32:45 +02:00
core__new_dash_user_overview.sql Merged PR 5463: New Dash user categorisation + revamp model 2025-06-13 14:05:30 +00:00
core__payments.sql Merged PR 5187: Switch models that use int_core__verification_payments 2025-05-12 15:58:53 +00:00
core__unified_user.sql Merged PR 5234: Remove 2 fields that no longer exist 2025-05-16 10:06:08 +00:00
core__verification_requests.sql Merged PR 2029: Guest Journey - start date based on used link 2024-06-13 14:53:58 +00:00
core__vr_check_in_cover.sql Merged PR 5187: Switch models that use int_core__verification_payments 2025-05-12 15:58:53 +00:00
schema.yml Merged PR 5463: New Dash user categorisation + revamp model 2025-06-13 14:05:30 +00:00