Delivery Revision and Restatement
A restatement supplies corrected data for an already delivered period. A delivery revision identifies that version under an agreed ordering rule. Dataset and period identify what is being corrected; the revision identifies which correction; a checksum identifies the received bytes.
Suppose revision 1 contains 320 rows and revision 2 contains 318. Appending revision 2 double-counts most rows; merging without deletion can retain the two removed rows. If the contract defines a complete replacement snapshot, validate it and replace the period, including an explicitly empty replacement. Delta deliveries need different apply rules.
An identical retry must not add another effect. Reject different bytes under the same revision as a conflict, and prevent a delayed older revision from overwriting a newer one. Commit validated data, accepted revision, and audit evidence together with appropriate concurrency control. Arrival time or a different hash alone cannot establish which correction is newer.
Reference: Worked API and file ingestion lab.
Discover more from Insightful Data Lab
Subscribe to get the latest posts sent to your email.
