Course map
Stage 1: Foundations
Stage 2: Data Integration
Stage 3: Building & Shipping
Stage 4: Customer Engagement
Stage 5: Specialization

Part 06 / Topic 6 of 7

Quarantine and reporting

A record that fails validation goes to quarantine: held aside with its reason, neither loaded nor dropped. Silent drops destroy trust ("where did S-1006 go?"); silent fixes are worse (a negative weight "corrected" to positive is fabricated data). The quarantine report is a deliverable:

quarantined 3 of 8 rows:
  S-1002  shipped_on  ambiguous date 03/02/2025 - awaiting format confirmation
  S-1004  weight_kg   missing
  S-1006  weight_kg   must be > 0 (got -5)

Each line is actionable by the customer: confirm a format, fix a record at the source, or tell you the rule is wrong (maybe -5 kg means a return!). Quarantined rows re-enter the pipeline when the answer arrives — which is why they are stored, not logged and lost.

🧪 Quick quiz

  1. What should a pipeline do with a record that fails validation, such as a negative weight?
Show the answer

Quarantine it with the reason, and report it to the customer. Three rows were quarantined in the example, each with the failing field and message. (verified against the example output above)

Done here? The practice set for Part 6 — 4 exercises with solutions — is on the part page.

Search the guide