NEW
Schema drift is unplanned or unmanaged changes to data structures that break assumptions and integrations across systems.
DESCRIPTION
Schema drift occurs when source columns, types, or structures change unexpectedly, causing downstream failures or inaccurate analytics. It is common in streaming data, third-party APIs, and evolving operational databases. Mitigation includes data contracts, schema registries, validation rules, and robust evolution practices. Observability and testing detect drift early, while governance enforces change controls. Managed evolution policies and compatibility modes help ensure safe transitions across environments.
ALTERNATIVE DEFINITIONS
Microsoft Learn
Schema drift is the case where the incoming source columns change often, and you want to build flexible mappings that can handle these changes.
Emphasizes flexible mappings in data flows for changing columns.
Confluent
Schema evolution enables the modification of schemas used in production while maintaining compatibility; without governance, changes can lead to drift and breakages.
Connects evolution practices to preventing drift and failures.
RELATED TERMS
Data Contracts Extract-Transform-Load Delta Lake Data Quality Change Data Capture Data Validation API Changes Governance
COMPETING TERMS
KNOWLEDGE AREAS
Data Engineering Testing & Validation Data Integration & Interoperability Data Quality
TARGET AUDIENCE
Data Engineer Data Architect MLOps Engineer DevOps Engineer Analytics Engineer
EXTERNAL SOURCES
- Wikipedia - Schema (database)
- Microsoft Learn - ADF concept of schema drift
- Delta Lake - Schema enforcement and evolution features
- Confluent - Registry-driven evolution controls
TOP QUESTIONS
What causes Schema Drift?
Uncoordinated column additions, type changes, renames, or nullability shifts in sources cause drift, especially in rapidly evolving systems.
Category: Overview
How do you detect Schema Drift?
Automated validations, unit tests, and observability alerts flag incompatible changes. Lineage and run histories reveal when drift occurred.
Category: Requirements
How is Schema Drift different from Schema Evolution?
Drift is unmanaged change that risks breakage; evolution is controlled, compatible change governed by policies and contracts.
Category: Misunderstanding
What practices reduce Schema Drift risk?
Use registries, data contracts, compatibility checks, and PR-based change reviews. Add tests and monitoring to catch issues early.
Category: Best practices
What are common mistakes around Schema Drift?
Skipping consumer impact analysis and failing to version schemas are frequent errors that lead to fragile pipelines.
Category: Mistakes
How do streaming systems handle Schema Drift?
Compatibility modes and serialization formats like Avro and Protobuf guard changes; registries enforce consistency for consumers.
Category: Example
What’s the biggest risk if Schema Drift is ignored?
Downstream breakages, corrupted data, and invalid reports can occur, eroding trust and increasing incident response costs.
Category: Risk
Who owns governance for Schema Drift?
Architecture and platform teams define policies; data producers follow versioning and compatibility rules enforced in CI/CD.
Category: Management
Is schema-on-read resilient to Schema Drift?
It can handle variation but often shifts complexity to consumers, resulting in inconsistent parsing and silent data issues.
Category: Opinion