[Demo] Understand if a customer has promoted orders#44
Conversation
6a39f5e to
1967696
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: popcorny <celu@infuseai.io>
1967696 to
95ea88c
Compare
SummaryPR #44 adds promotion order tracking to the Jaffle Shop data model by introducing a new Key Changes
Impact Analysisgraph LR
raw_payments["raw_payments<br/>(source)"]:::unchanged
stg_payments["stg_payments<br/>(view)"]:::modified
stg_orders["stg_orders<br/>(view)"]:::unchanged
stg_customers["stg_customers<br/>(view)"]:::unchanged
customers["customers<br/>(table)"]:::modified
orders["orders<br/>(table)"]:::unchanged
customer_order_pattern["customer_order_pattern<br/>(table)"]:::impacted
customer_segments["customer_segments<br/>(table)"]:::impacted
orders_daily_summary["orders_daily_summary<br/>(incremental)"]:::impacted
raw_payments --> stg_payments
stg_payments --> customers
stg_customers --> customers
stg_orders --> customers
customers --> customer_order_pattern
customers --> customer_segments
stg_orders --> orders
stg_payments --> orders
orders --> orders_daily_summary
classDef modified fill:#fff3cd,stroke:#ffc107,color:#000
classDef impacted fill:#fff,stroke:#ffc107,color:#000
classDef unchanged fill:#fff,stroke:#d3d3d3,color:#999
☑️ Checklist
🔍 Suggested Actions
|


In this PR, we want to understand if a customer has ever had an promotion order.
is_promotionin thestg_paymentmodel, it is true if the method iscouponis_promotion = trueWe can see the stg_payment is a non-breaking change, it would not affect the downstream models (e.g.
orders)