Prompt
Why are historical records missing after backfill?
Latest observation
Nov 3, 2026
OpenAI APIWeb search: off
Historical records can appear to be “missing” after a backfill for a few common reasons:
-
The backfill only populated recent or selected partitions
- If the job was limited by date range, partition key, or cutoff logic, older records may never have been processed.
-
Deduplication or upsert logic overwrote them
- Backfills often re-ingest data into tables with primary keys or merge/upsert behavior. If keys collide, older rows may be replaced or ignored.
-
Source data wasn’t available in the backfill window
- The historical source files, snapshots, or upstream exports may not have existed, been retained, or been mounted correctly when the backfill ran.
-
Filtering or transformations excluded them
- A change in schema mapping, validation rules, timezone handling, or null filtering can accidentally drop historical rows.
-
Late-arriving data was never reprocessed
- If the system processes by event time but backfill used processing time, some historical events may be skipped.
-
Retention/TTL cleanup removed them
- The destination system may have data expiration rules that deleted older records after ingestion.
-
The backfill failed partway through
- Partial success can leave gaps if retries were not done or if checkpoints caused the job to resume after the missing range.
-
They exist, but under a different identifier or version
- Records may be present but not visible due to changed IDs, schema versioning, tenant scoping, or query conditions.
If you want, I can help you debug this systematically. A good starting point is:
- the backfill job range and filters,
- source snapshot availability,
- destination table merge keys,
- logs for dropped/skipped records,
- and whether TTL or cleanup policies are enabled.
If you share your backfill setup or logs, I can help pinpoint the most likely cause.