Skip to content

Refactor customers mart rollup - #120

Open
mirnawong1 wants to merge 10 commits into
mainfrom
mwong-fusion
Open

Refactor customers mart rollup#120
mirnawong1 wants to merge 10 commits into
mainfrom
mwong-fusion

Conversation

@mirnawong1

Copy link
Copy Markdown
Contributor

Summary

  • drive the customers rollup from the customer entity table
  • use left joins so the customers mart preserves one row per customer
  • keep existing customer lifetime metric columns and customer_type behavior

Validation

  • dbt compile -s customers --no-defer
  • read-only warehouse previews checked row count, distinct customer_id, customer_type values, and spend arithmetic

Note: verification against dev with --defer has not been run yet.

@mirnawong1
mirnawong1 requested a review from a team as a code owner May 18, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant