Explore 15 field-guide articles on transformation & refinement. Each article develops a concrete problem, explains the design response, and discusses examples and limits.
Transformation & refinement
Data engineering patterns for transformation & refinement.
Curated selection
In this Collection
15 entries · Author-defined orderCanonical Mapping
Translate source-specific structures, codes, units, and meanings into an explicit shared model, preserving the context needed to explain each mapping.
Deduplicate with an Explicit Winner
Group competing records by their intended identity and select one whole row using a documented, deterministic precedence rule, with explicit handling of unresolved conflicts.
Deterministic Transformations
Produce the same defined result from the same complete inputs and rules, making time, reference versions, ordering, and other hidden dependencies explicit.
Incremental Transformation
Maintain an existing transformation result by processing changes and all affected outputs, including corrections and removals that reach beyond newly arrived rows.
Lookback Recalculation
Repeatedly rebuild a recent historical range to absorb late changes, while routing corrections beyond that recovery horizon to a separate backfill.
Merge and Upsert
Match incoming records to stored identities and apply explicit insert, update, and delete rules, rejecting stale or conflicting changes according to policy.
Metadata-Driven Pipelines
Describe supported pipeline variations in versioned specifications interpreted by reusable execution logic, keeping configuration separate from checkpoints and other runtime progress.
Partition Replacement
Rebuild the complete result for a bounded dataset slice and replace that slice together, preserving unaffected data and avoiding duplicate accumulation.
Preserve Raw Inputs
Retain incoming data and its source context before interpretation, so parsing mistakes or changed business rules can be investigated through controlled reprocessing.
Progressive Refinement
Improve captured inputs through explicit stages of validation, standardization, enrichment, and summarization, making changes in trust, meaning, and detail traceable.
Reference-Data Enrichment
Attach context from a governed lookup dataset using explicit key, version, time, and missing-match rules, preserving the intended input row count.
Reshape at Boundaries
Change nested, relational, or reporting structures at explicit interfaces while preserving identity, row meaning, and measurement totals across representations.
Reusable Intermediate Models
Build focused intermediate datasets that several downstream models can reuse, with explicit row meaning and dependencies that reduce repeated or inconsistent transformation logic.
Separate Cleaning from Business Logic
Give source preparation and business interpretation distinct steps, so cleaning preserves usable evidence while explicit business rules determine derived results.
Standardize at Staging
Standardize source-specific names, types, units, and codes once at staging, giving downstream models a consistent source representation before business interpretation.