data-dwh-dbt-project/models/intermediate/core
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
..
int_core__accommodation.sql Merged PR 2125: Fixing accommodation host 2024-06-26 14:47:15 +00:00
int_core__accommodation_to_product_bundle.sql Merged PR 2652: Adds accommodation to product bundle in intermediate 2024-08-27 14:05:24 +00:00
int_core__address_validations.sql Removed coalesce so it includes NULL for failed validations 2024-08-20 09:49:34 +02:00
int_core__booking_charge_events.sql Merged PR 2642: Booking Charge Events to have a similar logic as invoicing 2024-09-03 13:15:40 +00:00
int_core__booking_to_product_bundle.sql Keep latest booking to product bundle state 2024-10-04 10:32:15 +02:00
int_core__bookings.sql Thanks Uri for the catch, then when id_user_guest is NULL it won't be considered a duplicate. 2024-07-31 16:23:27 +02:00
int_core__check_in_cover_listings.sql fixed testing for core__check_in_cover_listings 2024-08-28 10:47:31 +02:00
int_core__check_in_cover_prices.sql Merged PR 2865: Propagate tax exclusive check in hero payments 2024-09-17 07:25:09 +00:00
int_core__check_in_cover_users.sql Merged PR 2201: Fixing errors raised by texts 2024-07-05 15:12:04 +00:00
int_core__country.sql Merged PR 2077: Adding Country to intermediate 2024-06-19 15:34:15 +00:00
int_core__deal.sql First version of name unification for a deal 2024-09-06 17:08:50 +02:00
int_core__duplicate_bookings.sql Thanks Uri for the catch, then when id_user_guest is NULL it won't be considered a duplicate. 2024-07-31 16:23:27 +02:00
int_core__guest_satisfaction_responses.sql update int_core__guest_satisfaction_responses to version 2 of verification_payments 2024-09-17 17:12:46 +02:00
int_core__host_booking_fees.sql Merged PR 2725: Force id user field to lower in staging 2024-09-03 14:36:21 +00:00
int_core__invoicing_price_plans_per_month.sql Merged PR 2642: Booking Charge Events to have a similar logic as invoicing 2024-09-03 13:15:40 +00:00
int_core__monthly_accommodation_history_by_deal.sql Merged PR 2172: Adding accommodation metrics by deal id 2024-07-02 09:32:52 +00:00
int_core__monthly_booking_history_by_deal.sql Merged PR 2825: Propagates deal Name and Billing Country in int_monthly_aggregated_metrics_history_by_deal 2024-09-12 12:04:04 +00:00
int_core__monthly_guest_journey_history_by_deal.sql Update mtd_aggregated_metrics guest payments to be tax-exclusive 2024-09-17 08:38:33 +02:00
int_core__monthly_guest_payments_history_by_deal.sql Update mtd_aggregated_metrics guest payments to be tax-exclusive 2024-09-17 08:38:33 +02:00
int_core__mtd_accommodation_lifecycle.sql Merged PR 2125: Fixing accommodation host 2024-06-26 14:47:15 +00:00
int_core__mtd_accommodation_metrics.sql Merged PR 2743: Fixes deal-based issues on the billing country dimension 2024-09-05 09:53:16 +00:00
int_core__mtd_accommodation_segmentation.sql Merged PR 2615: Beautification of KPIs dimensions 2024-08-21 14:42:05 +00:00
int_core__mtd_billable_bookings_metric.sql create individual models for each booking metric 2024-09-17 09:04:44 +02:00
int_core__mtd_cancelled_bookings_metric.sql remove dangling comment 2024-09-17 09:05:38 +02:00
int_core__mtd_check_out_bookings_metric.sql create individual models for each booking metric 2024-09-17 09:04:44 +02:00
int_core__mtd_created_bookings_metric.sql create individual models for each booking metric 2024-09-17 09:04:44 +02:00
int_core__mtd_guest_journey_metrics.sql Update mtd_aggregated_metrics 2024-09-16 16:01:49 +02:00
int_core__mtd_guest_payments_metrics.sql Simplified it 2024-09-17 09:05:38 +02:00
int_core__new_dash_user_overview.sql Merged PR 3396: Changes claims and logic to consider user is in new dash 2024-10-31 15:45:28 +00:00
int_core__new_dash_users.sql Merged PR 3396: Changes claims and logic to consider user is in new dash 2024-10-31 15:45:28 +00:00
int_core__payaway.sql model and docs 2024-09-17 12:16:52 +02:00
int_core__payaway_per_month_user.sql model and docs+tests 2024-09-17 15:47:45 +02:00
int_core__price_plans.sql docs and moving stuff 2024-04-08 09:44:32 +02:00
int_core__product_service_to_price.sql Merged PR 3087: Adding int_core__product_service_to_price 2024-10-08 11:39:34 +00:00
int_core__protection_plan_cover.sql Merged PR 3090: Propagates Protection Plan to intermediate, for price and cover 2024-10-08 11:44:52 +00:00
int_core__protection_plan_to_price.sql Merged PR 3090: Propagates Protection Plan to intermediate, for price and cover 2024-10-08 11:44:52 +00:00
int_core__unified_user.sql Merged PR 2676: Propagates Billing Country information 2024-08-29 08:25:05 +00:00
int_core__unique_accommodation_to_user.sql Merged PR 2125: Fixing accommodation host 2024-06-26 14:47:15 +00:00
int_core__user_host.sql Merged PR 3396: Changes claims and logic to consider user is in new dash 2024-10-31 15:45:28 +00:00
int_core__user_product_bundle.sql Merged PR 3396: Changes claims and logic to consider user is in new dash 2024-10-31 15:45:28 +00:00
int_core__user_product_bundle_contains_services.sql Merged PR 3028: Adding int_core__user_product_bundle_contains_services 2024-10-02 14:54:03 +00:00
int_core__user_role.sql Merged PR 2516: Create host_user and user_role in intermediate 2024-08-07 14:28:34 +00:00
int_core__verification_payments_v2.sql add missing condition in where 2024-10-30 14:52:21 +01:00
int_core__verification_request_booking_source.sql Removed guests_id and modified query structure 2024-07-11 16:49:24 +02:00
int_core__verification_request_completed_date.sql Merged PR 2028: guest journey estimated completed date 2024-06-13 13:30:22 +00:00
int_core__verification_request_completeness.sql Merged PR 2020: Verification request completeness for intermediate steps + schema documentation 2024-06-13 08:14:11 +00:00
int_core__verification_requests.sql Added the new field to int_core__bookings and to int_core__verification_requests 2024-07-11 17:16:51 +02:00
int_core__vr_check_in_cover.sql Merged PR 2865: Propagate tax exclusive check in hero payments 2024-09-17 07:25:09 +00:00
schema.yml Merged PR 3396: Changes claims and logic to consider user is in new dash 2024-10-31 15:45:28 +00:00