Conversation
Signed-off-by: even-wei <evenwei@infuseai.io>
Signed-off-by: popcorny <celu@infuseai.io>
fcbc4e5 to
4f2a4c4
Compare
SummaryPR #46 addresses critical calculation issues in revenue and customer lifetime value (CLV) metrics across the data warehouse. The changes filter for completed orders only, distinguish between gross and net revenue by excluding coupon payments, and introduce a new Key Changes
Impact AnalysisLineage visualization showing 10 models in the data lineage, with 3 modified, 1 new, and 6 downstream impacted models: graph LR
raw_payments["raw_payments<br/>(source)"]:::unchanged
stg_customers["stg_customers<br/>(view)"]:::unchanged
stg_orders["stg_orders<br/>(view)"]:::unchanged
stg_payments["stg_payments<br/>(view)"]:::modified
customers["customers<br/>(table)"]:::modified
orders["orders<br/>(table)"]:::impacted
customer_order_pattern["customer_order_pattern<br/>(table)"]:::impacted
customer_segments["customer_segments<br/>(table)"]:::modified
orders_daily_summary["orders_daily_summary<br/>(incremental)"]:::impacted
finance_revenue["finance_revenue<br/>(table)"]:::added
raw_payments --> stg_payments
stg_customers --> customers
stg_orders --> customers
stg_payments --> customers
customers --> customer_order_pattern
customers --> customer_segments
stg_orders --> orders
stg_payments --> orders
orders --> orders_daily_summary
stg_orders --> finance_revenue
stg_payments --> finance_revenue
classDef added fill:#d4edda,stroke:#28a745,color:#000000
classDef removed fill:#f8d7da,stroke:#dc3545,color:#000000
classDef modified fill:#fff3cd,stroke:#ffc107,color:#000000
classDef impacted fill:#ffffff,stroke:#ffc107,color:#000000
classDef unchanged fill:#ffffff,stroke:#d3d3d3,color:#999999
Downstream Impact:
☑️ Checklist
🔍 Suggested Actions
|
Trust Issues: How Jaffle Shop Rebuilt Stakeholder Confidence with Recce
📌 Summary
This PR resolves a critical issue in how revenue and customer lifetime value (CLV) were being calculated across the customers, customer_segments, customer_order_pattern, and finance_revenue models.
We identified that:
This broke trust in our data. Both marketing and finance were misled for months.
✅ Solution
We’ve introduced three key changes:
👁️ Impacted and validation
See modified models in Recce Summary
With these 4 modified models, only customer_segments is impacted. See Breaking Change Analysis + Column-Level Lineage in Recce:
Validation checks are included in Checklist
Supporting Resources