Data platform teams are usually the last to hear that a load went wrong: the first signal is a finance analyst asking why a number moved. This example shows how a team can put a check behind every important load with InsightReconcile, and keep it cheap.
The pattern
- Every load gets a row count job. It costs one count on each side and catches partial and duplicated batches.
- Wide or important tables get a hash job. It finds changed and missing rows without comparing every column by hand.
- Tables people sign off on get a field-level job with the business key and a tolerance, so a difference is reported with its field and values.
Triggering runs
A job runs when someone presses Run now or when something calls its run endpoint. In a pipeline, the natural place is the
last step of the load: call POST /api/recon_job/{id}/run for each job that checks it, with a token for an account that has the
admin role (starting a run requires it). The run is recorded as part of the job's history like any other.

Wiring it into the pipeline
The last task of a load can be a few lines in whatever your orchestrator runs. In outline:
- Call
POST /api/recon_job/{id}/runfor the first job, with the orchestrator's own token. The call returns when the run has finished, with the run id inrecon_run_guid. - Fetch
GET /api/recon_run/{run id}and read its status and counts:COMPLETEDwith no mismatches and nothing missing is a pass. - If the call itself returns an error, the run is recorded as
FAILEDwith the error message. Treat that as a broken check, not as bad data. - Repeat for the other jobs on the same load, and decide in the pipeline whether a failed check should stop the downstream tasks or only alert.
Two practical points. Because the run executes within the request, set the task's HTTP timeout to cover the slowest query on either side. And give the orchestrator its own account: runs started through the API are recorded as manual runs with the user who started them, so a dedicated account is how the run history shows which runs came from the pipeline.
Lineage: what does a broken source touch?
The Lineage page draws connections, tables and recon jobs as a graph. Edges can be added by hand or auto-discovered from a job (its source connection feeds it; it targets its target connection). Selecting a node shows its details and an impact analysis: what is downstream of it. When the billing database has an incident, that is the list of checks whose results you should treat with suspicion.

The morning view
The dashboard's health scorecard lists each job with its last outcome and match rate; top failures lists the jobs that failed most often in the period; recent runs shows the latest runs with match rate, record count and duration. For a stand-up that is enough to say which loads are clean and which have exceptions waiting.

One load, three checks
Sam Ortiz's team loads invoices and payments from billing into the warehouse every night. After the load, their orchestrator calls three jobs: Invoice row count, Invoice fingerprint (hash) and Payments total. On the morning shown on the demo database all three report differences: one invoice short, two rows changed, one payment missing. Rather than reading pipeline logs, Sam opens the October field-level job, runs it, and has the five invoice numbers with reasons to hand to finance before they notice.
Rolling it out
Start with the loads people complain about, not with every table. For each, add a row count job first; it needs no mapping and tells you within a day whether the load is reliable. Add the hash job when the row count is stable but numbers still move. Reserve field-level jobs for the tables someone signs off on, because they are the ones that need a reason for every difference. Name jobs after the claim they check ("Payments total: billing vs warehouse") so the dashboard reads like a list of promises, kept or broken.
What to watch for
- Failed runs are not differences. A connection error marks the run FAILED; fix the job, not the data.
- Schema drift breaks jobs quietly. Profile the source tables regularly so the profiler can report added, removed and retyped columns; see validation rules and profiling.
- Keep queries narrow. Both sides are read into memory; filter to the load's period.
Checklist for each new load
- A row count job, filtered to the load's period, called as the load's last step.
- A hash job keyed on the business id, if the table is wide or often corrected upstream.
- A field-level job only where someone signs off on the figures.
- Key rules (present, unique) attached to the job.
- The source table profiled regularly so drift has a history to compare with.
- Lineage edges for the job, auto-discovered or added, so an incident shows which checks it touches.
Frequently asked questions
Can InsightReconcile send an alert when a check fails?
Yes. A job carries its own notification configuration (email, Slack or webhook recipients), and the orchestrator that called the run already knows the result, so it can alert as well.
Should a failed check stop the pipeline?
That is your call per table. For tables that feed a sign-off, stopping downstream publishing until someone looks is usually right; for operational tables an alert may be enough.
How many jobs is too many?
Each job reads both sides into memory, so the limit is the time and memory your queries need, not the number of jobs. Narrow queries let you run more of them.