Historical Backfill Plan That Won't Disrupt Data Consumers
For data engineers and platform teams who need to reprocess months or years of history in a pipeline that is already in production, without corrupting what consumers use today (dashboards, models, APIs, reports).
The prompt has the model audit your scenario (pipeline, volume, destination, consumers) and deliver a risk assessment followed by a prioritized backfill plan: write isolation, window-based partitioning, idempotency, validation by counts and checksums, and rollback. It compares at least two strategies and makes explicit what was assumed.
Fill in the bracketed fields with your real stack and constraints, paste the pipeline code or description, and review the assumptions before running anything in production.
You are a senior Data Engineer, specializing in batch pipelines and reprocessing of production history. Goal: audit the scenario below and deliver a backfill plan that reprocesses [PERIOD_TO_REPROCESS] without affecting those who consume the data today. Context: - Pipeline and stack: [STACK: e.g., Airflow + Spark + Delta/Iceberg/BigQuery table] - Destination and consumers: [WHO_READS: dashboards, models, APIs, SLAs] If anything essential is missing, ask only what is indispensable and proceed with explicit assumptions.