Skills / Data pipelines and data engineering / What data engineers do: ETL and ELT
What data engineers do: ETL and ELT
Analysts and data scientists can only work with data that is collected, cleaned and stored somewhere reliable. Building and running that plumbing is data engineering.
A company's data is usually spread across many systems: the website database, the payment provider, the CRM, the advertising platforms, spreadsheets. Each has its own format. A data engineer builds pipelines that bring it together.
ETL is the classic pattern:
- Extract: pull data out of each source, for example by calling an API or querying a database
- Transform: clean it, standardise formats, join sources together and calculate useful fields
- Load: write the result into a central store, often a data warehouse, a database designed for analysis
ELT swaps the last two steps: load the raw data into the warehouse first, then transform it there with SQL. Modern cloud warehouses are powerful enough to make this the common approach today. It keeps a copy of the raw data, so you can redo transformations when the rules change.
What makes a good pipeline:
- Reliable: runs on schedule, and when something fails it alerts someone instead of failing silently
- Repeatable (idempotent): running it twice for the same day does not create duplicate data
- Tested: checks catch problems, such as a total that suddenly drops to zero or IDs that should be unique but are not
- Documented: people know where each number comes from
A broken pipeline quietly feeding wrong numbers into reports is worse than no pipeline, because people make decisions on those numbers.
The tutor gives hints, not finished answers. Log in to use it.