Definition
Data reconciliation
What is data reconciliation in pipeline testing?
Data reconciliation compares a source and a destination for the same population and point in time to check that a transfer or transformation preserved the expected records and values. A useful comparison names the business key, the metrics and any permitted difference.
Why can matching totals hide a problem?
A missing record and a duplicate of equal value can cancel each other out. Compare the business keys at the level where the rule applies, then inspect counts, values and duplicates. Align the cutoff on both sides so an update that arrived midway through the comparison cannot masquerade as a transfer error.
Worked example
Two equal refunds on different orders
A source lists £10 refunds for orders A and B. A report contains two £10 entries for A. Both sides show two refunds worth £20. Comparing refund identities reveals the extra record for A and the missing one for B.
Try it on your pull request
Choose a change in your repository and tell Cue April what should happen. Review the proposed checks before they run.
Try Cue April on your repository