The Register Never Sleeps
A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant feedback.
- Domain
- Pipeline Design
- Difficulty
- medium
- Seniority
- L5
Problem
We run a 600-store retail chain feeding a Snowflake warehouse, but the POS terminals only bulk-upload each day's sales to S3 after close, so operations is blind to intraday numbers and learns that a store went dark mid-afternoon only when the nightly totals come in low. Build a pipeline that lands each sale in the warehouse within minutes and raises an alert when a store stops sending during business hours. Voids and same-day price corrections arrive as new events that reference the original transaction, and each has to update that original in place instead of adding a second row.
Summary
Every swipe lands in the warehouse. The table has to stay current without breaking.
Practice This Problem
Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and checks it automatically.