# Description This query refactors the model `int_core__new_dash_user_overview` to optimize performance. The output of the model remains unaltered. The performance gains are obtained by preventing a monster-grade intermediate join with almost 100 million rows + a sequential order that the current `master` model causes. This refactor breaks down the query that caused that into multiple CTEs that pre-aggregate results, avoiding the dimensional explosion. # 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 |
||
|---|---|---|
| .. | ||
| athena | ||
| core | ||
| cross | ||
| edeposit | ||
| hubspot | ||
| kpis | ||
| xero | ||