data-dwh-dbt-project/models
Oriol Roqué Paniagua 23cc5459e3 Merged PR 3588: First version of booking summary
# Description

This table provides the Booking that are under New Pricing. Some of them might also be under New Dashboard.

Changes on existing models:
* Added a few informative fields in the view `int_core__booking_to_service` that enables feeding Booking Service Detail and Booking Summary. These are: `id_verification_request`, `id_deal`, `is_user_in_new_dash`, `new_dash_version`, `user_in_new_dash_since_timestamp_at_utc`.

New models:
* Created a first version of `int_core__booking_summary`. This model mainly retrieves Booking attributes from `int_core__booking_to_service` and aggregates service information (paid services, upgraded services, types of services applied, total price, etc) from the detailed version of this table which is `int_core__booking_service_detail`.

# 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: #20809
2024-11-19 16:42:34 +00:00
..
intermediate Merged PR 3588: First version of booking summary 2024-11-19 16:42:34 +00:00
reporting Add week number to model 2024-11-18 11:23:25 +01:00
staging Merged PR 3578: First version of int_core__booking_service_detail 2024-11-19 08:24:32 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00