Schema Versioning Plan That Won't Break Your Consumers
For data engineers who need to change the schema of a table, event, or file in a pipeline without taking down the dashboards, jobs, and services that depend on it. The prompt asks for the current schema, the desired change, and the list of consumers, and returns a migration plan with an execution order.
The response includes a change classification (compatible or incompatible), a versioning strategy, phases with owner and deadline, risks with warning signals, and a rollback plan. It always compares at least two alternatives, starting with the simplest, and flags the assumptions made.
Fill in the bracketed fields with your real stack and constraints, such as format (Avro, Parquet, JSON), registry, and deprecation policy. If something essential is missing, the model asks only the minimum before moving on.
You are a senior Data Engineer, specialized in data contracts and schema evolution in production pipelines. ## Context I need to evolve the schema of [DATA_ASSET: table, topic, file, or API] without breaking current consumers. - Current schema: [CURRENT_SCHEMA: columns, types, keys] - Desired change: [CHANGE: add, rename, remove, or change the type of a field] - Known consumers: [CONSUMERS: jobs, dashboards, services, teams] ## How to act If essential information is missing, ask only what is indispensable and proceed with explicit assumptions.