A data pipeline moves data from where it is created to where it is used: from an application database, an API or files into a warehouse where analysts and dashboards can query it. Three steps happen in every pipeline: extract, transform and load. The order in which you perform them shapes how the pipeline is built and maintained.
The three steps
- Extract: read data from a source system, such as a CRM API, an orders database or a set of CSV files.
- Transform: clean, combine and reshape data into a form useful for analysis, such as standardizing dates, joining orders to customers and calculating revenue.
- Load: write data into the destination, usually a data warehouse or lake.
ETL: the older order
In ETL, data is extracted, transformed on a separate processing server and then loaded into the warehouse in its final shape. This approach dominated when warehouse storage and compute were expensive, so only cleaned, aggregated data was stored.
Characteristics:
- Transformation logic lives in the pipeline tool.
- The warehouse holds only processed data.
- Raw data is often not kept, so reprocessing history requires extracting again.
- Changes to business logic can require rebuilding the pipeline.
ELT: the modern default
In ELT, raw data is extracted and loaded into the warehouse first, then transformed inside the warehouse using SQL or similar tools. Cloud warehouses made this practical by separating storage from compute and making storage cheap.
Characteristics:
- Raw data is preserved and can be reprocessed when logic changes.
- Transformations are written in SQL, which analysts often know.
- Transformation code can be version-controlled and tested.
- The warehouse does more work, so compute costs need watching.
Which to choose
ELT is the usual starting point for analytics pipelines today because it keeps raw history, simplifies extraction and puts transformation logic where analysts can read it.
ETL still makes sense when:
- Sensitive fields must be removed or masked before data reaches the warehouse.
- Data volumes are so large that loading everything raw is impractical.
- The destination is not a warehouse but an operational system that requires data in a specific shape.
Many real pipelines blend the two: light transformations during extraction, such as dropping sensitive columns, then main transformations in the warehouse.
Reverse ETL
A newer pattern moves modeled data from the warehouse back into operational tools, such as sending customer health scores to the CRM. It applies the same principles in the other direction.
A worked example
A business wants a daily revenue dashboard. Using ELT:
- Extract orders and customers from the ecommerce platform API each night.
- Load them as raw tables into the warehouse.
- Transform with SQL: clean statuses, join orders to customers, calculate net revenue after refunds.
- The dashboard reads from the final revenue table.
When finance changes the definition of net revenue, the team edits the SQL and rebuilds from raw data. No re-extraction needed.
Your exercise
Choose a report your organization produces manually. Describe the source systems, the transformations required and the destination. Decide whether ETL or ELT fits better and explain why, noting any sensitive data that should be removed before loading.