internalsGet Pro

Module 06 · Lesson 11 of 11Pro

Design: ingesting orders from five sources

Level
Intermediate
Topic
Data pipelines: ETL and ELT
Reading time
28 min

When you finish this page you can

  1. Design ingestion for sources that differ in how, when and in what units their data arrives, using one path per kind of source instead of one per source or one for all.
  2. Load a database by watermark and partner files by day into Snowflake so that reruns, lookback re-reads and corrected files never count an order twice.
  3. Record when each source is complete for a day, and build a morning report that waits, cuts off, and restates in a way finance can see.
  1. Design: a script that loads daily sales files28 min
  2. Ingestion patterns: full, incremental and append-only16 min
  3. Idempotent pipelines: safe to run twice16 min
  4. Incremental loads with watermarks17 min
  5. Pipeline failures: detection and recovery17 min

Monday’s sales changed on Wednesday

At 07:00 on Tuesday 9 November 2027, Daniel’s report said Kartly sold ₹73.2 crore on Monday. On Wednesday morning, the same Monday said ₹75.0 crore. Nobody had sold anything on Monday in between.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan