data-dwh-dbt-project/models
Pablo Martín 2733adfd31 Merged PR 2774: Inline CTEs on int_core__mtd_booking_metrics
# Description

This PR is a pure refactor (as in, doesn't change the output of the model at all).

The only purpose of the changes in this PR is to improve the performance on the model. The strategy to achieve this has been to inline the basic CTEs of the model (inline=replace references to the CTE with direct `ref` inside the model).

This works because it breaks an optimization fence.

# 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: #20835
2024-09-09 12:55:24 +00:00
..
intermediate Merged PR 2774: Inline CTEs on int_core__mtd_booking_metrics 2024-09-09 12:55:24 +00:00
reporting Adding new column test: latest_date_is_yesterday 2024-09-06 09:13:27 +02:00
staging add date fields to docs 2024-09-04 09:21:22 +02:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00