Atlas · skill

ETL Pipeline Design

ETL pipeline design organizes how data is extracted, transformed and loaded into a target system. It defines dependencies, data semantics and recovery behavior, choosing whether transformations occur before or after loading so downstream analytics and AI workloads receive dependable, traceable inputs.

conceptETL/ELT

What it is

ETL performs transformations before loading the target, while ELT loads source data first and transforms it within the destination environment. The choice affects compute placement, raw-data retention, security and the ability to reprocess earlier inputs. A pipeline also needs delivery semantics: identifying new or changed records, handling deletions and avoiding duplicated effects when a step retries. Transformations must preserve the intended grain and meaning rather than only converting formats. Pipeline design differs from orchestration, which schedules and supervises work; the design defines what the work means and how its outputs remain correct during normal and failed execution.

What the work involves

The practitioner maps source interfaces and target requirements, defines incremental logic and builds stages with explicit inputs and outputs. They choose checkpoints, validation boundaries and a strategy for replay or backfill. Useful artifacts include a lineage diagram and tests for reruns, partial failure and late corrections. Sensitive fields may require transformation before leaving a source boundary, while reproducibility may justify keeping restricted raw snapshots. The team documents how a new source schema affects existing consumers and how a corrected transformation rebuilds affected outputs.

Illustrative example

A support analytics pipeline extracts tickets, standardizes categories and loads daily aggregates. A failure occurs after some target rows are written but before the checkpoint advances. The designer uses stable keys and an idempotent write strategy, so rerunning the batch updates the intended rows rather than doubling ticket counts. A backfill procedure then applies a corrected category mapping to earlier days without overwriting unrelated historical data.

Limits and common mistakes

A sequence of scripts is not dependable simply because it runs on a schedule. Hidden source changes, duplicate records and non-idempotent writes can corrupt results during recovery. ETL and ELT are not universal quality rankings; each must fit security, storage and reprocessing needs. The practical test is whether the team can explain and reproduce an output, recover from interrupted execution and apply corrections without uncontrolled side effects.

Prerequisites

  • hardSQL

    ETL pipelines query, transform, and load data — SQL is the primary language for the T and L steps

  • hardPython

    Pipeline orchestration, custom transformations, and LLM integration are done in Python

Related skills

Sources and further reading

Last updated: 2026-10-10