Get Started Free
Docs Schema Drift

Schema Drift

Queryvine monitors every pipeline run for structural changes to source tables. When drift is detected, it classifies the change, applies your configured rules, and takes action before broken data reaches your warehouse.

Change detection

At the start of each pipeline run, Queryvine computes a schema fingerprint of the source (column names, data types, nullability, ordering). This fingerprint is compared to the version captured on the previous run. If they differ, a drift event is generated.

Queryvine detects the following change types:

Severity levels

Each drift event has a severity level that determines default alerting behavior:

Severity Default change types Default action
criticalcolumn_rename, column_drop, type_change (breaking)pause_and_alert
warningtype_widen, nullability_changealert_continue
infocolumn_add, ordering_changeauto_migrate

YAML drift rules

Override the defaults by editing your pipeline's drift_rules.yaml. Rules are evaluated top-to-bottom; the first match wins.

Actions

auto_migrate on column_drop will delete the destination column and its historical data. Use with caution — this cannot be undone automatically.