Late-Arriving and Corrected Data Patterns

A practical guide for enterprise data modeling and architecture.

BeginnerIntermediateExpert · 4 min read · Last updated:

In brief

A record may arrive late because a source batches updates, connectivity failed, an event was replayed or a business process corrected a past fact. Distinguish event occurrence time, source commit time, ingestion time and processing time when they affect interpretation.

Identify why data is late

A record may arrive late because a source batches updates, connectivity failed, an event was replayed or a business process corrected a past fact. Distinguish event occurrence time, source commit time, ingestion time and processing time when they affect interpretation.

Select a correction strategy

Possible approaches include updating the affected record, appending a correction event, rebuilding a bounded time range or publishing a restatement. The choice depends on audit needs, downstream expectations, processing cost and whether consumers must see prior published values.

Make reprocessing safe

Design idempotent writes or deduplication keys where appropriate. Track source offsets or batch identifiers, define replay boundaries, and ensure reruns do not double-count. If a correction changes an aggregate, update or recompute affected groups and notify consumers about restated history.

Set a lateness policy

Define expected delay, allowed lateness, watermark or cutoff behavior where used, and the path for records that arrive beyond it. Monitor the age and volume of late data. Reconcile source and target totals so operational convenience does not silently become data loss.

DefineMeaning and owner
ValidateRules and evidence
OperateMonitor and improve
Reliable data depends on connected design and operating practices.

Apply the guidance

Validate assumptions with the accountable owner and representative consumers. Record trade-offs, examples and unresolved questions, and link the resulting decisions to the relevant model, contract or operating procedure.

Patterns and reference depth Definitions, trade-offs and checks

Distinguish late arrival from correction

A late event happened earlier but reached the system later. A correction changes a previously received fact or its interpretation. They need different handling. Store event or effective time separately from ingestion or recorded time when both matter, and preserve the original source information.

Choose processing behavior by consumer need

Options include updating an affected period, appending a correction event, publishing a restatement version or keeping a provisional result until a lateness window closes. Define the expected delay, finalization rule and consumer notification. A window that is too short may miss routine events; one that is too long can delay useful results.

Make reprocessing repeatable

Use stable event identity or deduplication logic so retries do not double-count. Identify affected partitions or aggregates from lineage, then replay or backfill deterministically. Record the rule and source version used. Compare outputs before and after reprocessing and report the impact to consumers.

Test boundaries and corrections

Test an event arriving before, at and after the allowed lateness threshold; a duplicate; a correction to a closed period; and a downstream metric affected by the change. Ensure alerts distinguish expected late data from abnormal delays.

  • Are event time and arrival time distinct?
  • Is correction behavior documented separately?
  • Are retries idempotent?
  • Can affected outputs be identified and rebuilt?
  • Are restatements visible to consumers?

Worked example: corrected effective date

A record arrives today with a business effective date from last week. Preserve both times and identify the source of the correction. Decide whether consumers need the current restated view, the value originally reported, or both. Choose a strategy such as updating an effective-dated row, emitting a correction event, or rebuilding a bounded partition. Document which downstream outputs can change.

Reprocessing must be safe: use stable event identities, idempotent writes, and explicit replacement or supersession behavior. If a correction changes a key or relationship, propagate it through aggregates, indexes, and extracts. Monitor the age and volume of late records and distinguish expected delay from a broken source process.

Communicate restatements

Publish the restatement window, affected periods, and finalized status where consumers can see it. Provide a reproducible run reference and reconciliation result. Review whether the lateness policy should change, but do not widen it without considering compute, retention, and downstream expectations.

Choose a restatement window

Estimate how late data arrives and which decisions depend on finalized values. Define when a period is provisional, how long corrections can revise it, and what happens after the window closes. A longer window may improve completeness but adds compute and consumer complexity. An adjustment record can preserve a published result while making a later correction visible.

Test late data at each boundary, duplicate replay, and correction after closure. Monitor actual arrival distributions and exceptions. Tell consumers which historical values can change and how to retrieve the version used previously.

Communicate late-data behavior

Tell consumers which periods are provisional, how corrections appear, and where to find run status. Provide a restatement notice for material changes and retain version context for prior outputs.

Retain evidence for late-data reconciliation

Store source interval, run ID, correction reference, affected period, and output version. Compare before and after values and record consumer notification. Make it possible to reproduce a restatement.

Review correction frequency and update the lateness policy when evidence shows the current window is misaligned.