How to Model Split Shipments and Late Webhooks Using Kimball Dimensional Design

Modeling e-commerce order fulfillment in a data warehouse is far more complex than tracking just a placement date and a delivery date. When a single order spawns multiple shipments from different warehouses, a simple one-row-per-order fact table quickly breaks down. Carrier webhook events can arrive out of sequence due to retries and rate limits, making naive status columns unreliable. The Kimball accumulating snapshot pattern — one row per entity updated in place as milestones occur — is better suited to these multi-stage, non-linear fulfillment journeys. Choosing the right grain, whether per order or per shipment, is essential before building any table, as different business questions may ultimately require separate fact tables.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in