Which upstream schema changes should you monitor to catch schema drift before downstream failures?

DataKitchen's TestGen, a data observability tool, monitors five upstream schema changes: a table added, a table dropped, a column added, a column dropped, and a column modified. Watch them on the landing tables where sources write. Schema monitors need no training period and no thresholds.

Key points

  • DataKitchen's TestGen schema monitors detect exactly five structural changes: table added, table dropped, column added, column dropped, and column modified.
  • Schema monitors always report a detected change as an anomaly, so there is no prediction model and no threshold to tune.
  • Saving Monitor Settings once creates a schema monitor for every table in the table group, with no profiling run required first.
  • The data contract Schema Conformance test checks a table against the schema a contract declares and reports four kinds of difference.
  • In the TestGen demo project, where the drift was built into the demo as a test case, the monitors flagged 3 schema anomalies across 28 runs, including a November 8, 2026 drop of 2 columns from d_ebike_customers.
Five schema changes listed on a green panel: table added, table dropped, column added, column dropped, column modified
Five schema changes, watched on the landing tables where sources write.

The five upstream changes to monitor

Schema drift is a structural change upstream that nobody told you about. TestGen schema monitors detect five of them. Each one breaks something different downstream.

Five schema changes and what each breaks downstream: table added, a new feed nobody reads yet; table dropped, jobs and reports fail or go empty; column added, positional loads and SELECT * consumers break; column dropped, queries break or a tolerant loader fills nulls; column modified, loads fine but joins, sorts, math, and casts break later
Each of the five changes breaks something different downstream.
SignalWhat it usually means upstreamWhat breaks downstream
Table addedA new feed appeared. A source split or a replacement table may be coming.Nothing reads it yet. You find out later that the old table stopped getting rows.
Table droppedAn existing table disappeared.Every job and report that reads it fails or goes empty.
Column addedA source started sending a new field.Positional loads and SELECT * consumers break. A downstream rule may need the new field.
Column droppedA source stopped sending a field.Every query, join, or report that names the column breaks. A tolerant loader fills it with nulls and nothing fails.
Column modifiedA data type or property changed.A widened string or a number turned into text loads fine. Joins, sorts, math, and casts break later.

A column dropped under a tolerant loader produces a clean job log and a wrong report. That quiet failure is the dangerous one.

Where to watch

Watch where the change enters. That is the landing, raw, or bronze tables your sources write to, not only the gold tables your reports read. In TestGen, point a table group at the landing schema and put schema monitors on every table in it. A monitor on the landing table flags a structural change before any transform reads it, as long as the change reaches the table’s structure. If your loader fills missing fields with nulls, the drift shows up in the values instead, so pair the monitor with a value test such as a null check (see what schema monitors won’t tell you).

Monitor every table. The drift happens on the table you skipped.

No training, no thresholds

Schema monitors do not use a prediction model. TestGen reports any detected schema change as an anomaly, because structural changes should always be reviewed. That removes the training period and the threshold tuning. It also has a cost: every change raises an anomaly, including a harmless column addition, so a busy landing schema produces more alerts than one that rarely changes. TestGen’s other monitor types need about 30 runs of training. For why monitors miss drift in the first place, read why data observability misses freshness and schema drift.

One-save setup

The first time you save monitor settings, TestGen generates a schema monitor for every table in the table group. You do not configure tables one at a time, and you do not run profiling first.

For the schedule, run monitors at about twice the frequency your tables change. If tables update daily, run them every 12 hours. A scheduled scan only catches a change before the transform if it runs between the load and the transform, so time the schedule against your pipeline runs.

Open source, pricing, and the MCP server

TestGen is open source under Apache 2.0, with the full UI, and it generates tests from your data. TestGen Enterprise is priced per user and per connection, not per table, so you have no reason to ration which tables get a monitor. It lists at $100 per user and $100 per connection per month. Enterprise adds multi-user access with single sign-on, role-based access control, multi-project management, PII masking, and dedicated support.

The open-source edition includes 117 Model Context Protocol tools, so Claude, Copilot, Cursor, or an agent you build can run profiles, generate tests, and read results under the connected user’s own role. The MCP server was completed in the June 30, 2026 open source release and has grown to 122 tools since.

How to set it up in TestGen

  1. Go to Monitors in the left sidebar and pick the table group that points at your landing schema.

  2. Click the gear (Configure Monitors). In Monitor Settings, set the schedule and click Save. TestGen creates schema monitors for every table in the group on that first save.

TestGen Edit Monitor Settings dialog for table group default with the Monitor Schedule set to every 12 hours (UTC) and the Save button highlighted Figure 1: Set the schedule and click Save. That one save creates a schema monitor for every table in the table group.

  1. Click the bell to send monitor anomaly notifications, for the whole table group or for one table. Destinations are email, Slack (incoming webhook), or Microsoft Teams (Workflows webhook).

  2. When a change lands, the Monitors dashboard counts it in the Schema column. Filter Anomaly type to Schema to see only those tables. Check “Show changes in last N runs” (or latest run) to see the change details on each row.

TestGen Monitors dashboard filtered to Schema anomalies: d_ebike_customers with 2 schema anomalies and +2 -2 columns, f_ebike_returns with 1 anomaly, a new table and +5 columns Figure 2: The demo’s Monitors dashboard, filtered to Schema, with changes in the last 28 runs shown on each row.

  1. Click the change count in the table’s Schema column to open its trend chart. Each schema change is a bar in the Schema lane: blue for additions, orange for deletions, purple for modifications. Click a bar to open the Schema Changes panel, which names the columns and the time window of the change.

TestGen trend chart for d_ebike_customers with a blue addition bar and an orange deletion bar in the Schema lane, and a Schema Changes panel listing occupation and tax_id as dropped between Nov 7, 7:00 PM and Nov 8, 7:00 AM Figure 3: Click a bar in the Schema lane to see which columns changed. Here, occupation and tax_id were dropped.

Schema monitors vs. the Schema Conformance test

The two features do different jobs. A schema monitor asks, “Did anything change since the last scan?” The data contract Schema Conformance test asks, “Does this table still match what we agreed?”

Use monitors on every landing table for early warning. Use Schema Conformance on tables you have an agreement about, such as a supplier feed or a table another team depends on.

Schema monitorSchema Conformance test
Question it answersDid anything change since the last scan?Does the table still match the contract?
What it compares againstThe last scanThe schema the contract version declares
SetupSaved automatically for every table when you first save monitor settingsCreated automatically when you create a data contract
When it runsOn the monitor scheduleWith the contract’s test suite
Best place to use itEvery landing tableTables with an agreement, such as a supplier feed

Schema Conformance shipped in TestGen 5.185.1, in open source and Enterprise, on November 12, 2026. When you create a data contract, each table the contract declares gets a Schema Conformance test. TestGen creates it automatically for every declared table it finds in the source. You cannot add or delete it on its own.

The test compares the table’s columns and types to the schema the contract version declares. It reports four things: a declared table TestGen no longer finds in the source, a declared column the table does not have, a column the table has that the contract does not declare, and a column whose type differs from the declared type.

Only runs of the active (frozen) contract version update the contract’s results, Testing Score, and notifications.

Because it is a test, it runs with the contract’s test suite, wherever you run tests: on ingest, before an export, or in CI. You can generate contracts from profiled tables or import them from an ODCS file, and you can export them as ODCS. The details are in data contracts ship in open source TestGen.

In the demo project, the contract suite’s November 13, 2026 run, a preview of the contract’s v1 draft, shows Schema Conformance passing on all five demo tables with “Schema differences: 0”.

TestGen test results for the demo contract suite, v1 draft preview, filtered to Schema Conformance: all five demo tables passed with 0 schema differences Figure 4: Schema Conformance on the demo contract’s v1 draft preview: five tables, zero schema differences.

The demo

The TestGen demo project (e-bike data, table group “default”) has schema drift built in as a test case. These are the demo’s results, not a customer story. Over the last 28 monitor runs, the Monitors dashboard shows 3 schema anomalies:

On November 3, 2026, d_ebike_customers gained 2 columns. On November 5, f_ebike_returns appeared: “Table added. 5 columns added.” Between 7:00 PM on November 7 and 7:00 AM on November 8, d_ebike_customers lost 2 columns, occupation and tax_id.

The November 8 drop is the one that breaks downstream queries. Any report that selected occupation or tax_id would fail on its next run. TestGen flagged it as an anomaly with no thresholds set, and the Schema Changes panel names both columns.

Process observability explains why the schema changed

Schema monitors tell you that a table changed. They do not tell you which run, task, or step upstream caused it. That takes process observability. Process observability watches the jobs that make the data (ETL runs, model runs, and report refreshes) across every tool, and flags errors, bottlenecks, and late arrivals.

A nightly load passes its data tests, the model refresh does not run, the dashboard shows yesterday, and the customer is not happy
Perfect data does not help when the job that uses it never ran. From the best data observability tools in 2026.

You can have perfect data, but if the engines that run your ETL, models, or reports fail or run late, your customers are not going to be happy. DataOps Process Observability covers it. All other data observability tools miss it.

DataOps Process Observability is open source under Apache 2.0, with the UI, the event ingestion API, and integration agents. Enterprise is a flat $100 per month per user and per agent.

What schema monitors won’t tell you

A logic change that keeps every column and type but changes what a column means leaves the schema unchanged. Neither a schema monitor nor Schema Conformance sees it. That needs a test on the values. A tolerant loader that fills a dropped field with nulls also leaves the schema unchanged, and a null check on that column catches it.

Install open source TestGen and point a table group at your landing schema. To see how it compares with other tools, read the best data observability tools in 2026.

Frequently asked questions

Short answers to the follow-up questions people ask next.

Which schema changes should I monitor to catch schema drift?

Monitor five upstream changes: a table added, a table dropped, a column added, a column dropped, and a column modified. TestGen schema monitors detect exactly these five on every table in a table group. Watch them on the landing, raw, or bronze tables where sources write. A scan catches a change before a transform only if it runs between the load and the transform.

Do I need to tune thresholds or wait for training with TestGen schema monitors?

No. TestGen schema monitors do not use a prediction model, so there is no training period and no threshold to tune. Any detected schema change is always reported as an anomaly. Other TestGen monitor types need about 30 runs of training, but schema monitors do not.

How often should I run TestGen schema monitors?

Run schema monitors at about twice the frequency your tables change. If your tables update daily, run monitors every 12 hours. You set the schedule in Monitor Settings, and the same save creates a schema monitor for every table in the table group.

What is the difference between a schema monitor and the Schema Conformance test?

A TestGen schema monitor detects any change against the last scan, while the data contract Schema Conformance test checks a table against the schema a contract declares. The test reports four differences: a missing declared table, a missing declared column, an undeclared column, and a type mismatch. Use monitors on every landing table and Schema Conformance on tables you have an agreement about.

Does TestGen charge per table for schema monitors?

No. TestGen is open source under Apache 2.0 with the full UI, and TestGen Enterprise is priced per user and per connection, not per table. You can put a schema monitor on every table in your landing schema without rationing which ones get one.

What is process observability, and does it help with schema drift?

Process observability means watching the pipeline runs and tasks that produce your data, not only the tables they write. A schema monitor shows that a column was dropped. Process observability shows which upstream run and step changed it. All other data observability tools miss process observability.

Try it on your own data

DataOps TestGen is free and open source. Profile a table and generate its tests this afternoon.