top of page

Why Does Checking Only Missing Records Leave an Import Reconciliation Incomplete?

Oct 26
3 min read

An import check reports that every expected identifier exists in the destination. The team declares success, but the destination also contains an unexpected record from an earlier file. A one-direction comparison answered only half the question.


Reconciliation needs a defined scope and a comparison in each direction. It also needs a decision about whether matching identifiers are enough or whether selected values must match too.


State the two questions separately


PostgreSQL documents EXCEPT as returning rows present in the first query but absent from the second. Duplicate rows are removed unless EXCEPT ALL is used.


“Expected minus actual” identifies missing expected rows. “Actual minus expected” identifies unexpected actual rows. Reversing the inputs changes the question.


Both inputs should describe the same batch or business scope. Comparing one new import file with the entire destination database will label legitimate historical records as unexpected.


Use a small reconciliation fixture


Illustrative example: three expected identifiers


The expected identifiers are Cedar, Birch and Maple. The destination contains Cedar, Birch and Oak. The missing set is Maple; the unexpected set is Oak.


Both sides contain three records, so a row-count comparison alone passes. The equal totals conceal two distinct discrepancies.


Next make the destination Cedar, Birch and Maple, but give Maple the wrong status. An identifier-only comparison now passes. A comparison of identifier and status reveals a value mismatch.


Choose columns deliberately


Exclude technical fields that are expected to differ, such as a destination-generated import timestamp. Include business fields whose preservation matters.


Normalize only differences that the contract treats as irrelevant. Trimming identifiers or changing case without agreement can hide a meaningful mismatch.


Do not lose repeated occurrences


If duplicate occurrences matter, ordinary set comparison is not enough. An expected list containing Cedar twice and a destination containing it once can appear equal after duplicate removal.


Decide whether duplicates are invalid, represent separate events, or require an occurrence count. Keep that decision separate from the convenient behavior of a SQL operator.


A review table can show each identifier with expected count and actual count. It makes multiplicity visible even when the final report uses a set-oriented comparison.


Keep mismatch categories actionable


Separate missing records, unexpected records, differing business values and duplicate-count discrepancies. Assign each an owner and a next step.


A missing record may need import-error investigation. An unexpected record may reflect a scope mistake rather than unauthorized creation. A value mismatch may originate in an approved transformation that was absent from the reconciliation specification.


Do not automatically delete or overwrite discrepancies merely because a comparison found them.


Define completion with evidence


A useful acceptance packet includes the source batch identity, destination scope, comparison columns, normalization rules and discrepancy counts. Retain representative synthetic fixtures alongside the query.


If unresolved differences remain, report the import as partially reconciled and explain the boundary. A successful processing job does not replace this check.


For the wider operational process, read the CSV import reconciliation checklist. The final claim should say exactly what matched, rather than simply stating that the totals looked right.


Editorial note


Prepared with AI assistance. Primary sources and the FutureOS article inventory were checked on October 26, 2026. Examples are illustrative, not customer results. FutureOS is described as being in prelaunch in its current introduction. This guide does not claim an available product feature, integration or service, and no independent expert review is claimed.


Comments


Commenting on this post isn't available anymore. Contact the site owner for more info.
bottom of page