Most teams do not start with a shortage of information. They start with information in the wrong place. A data pipeline is the quiet structure that connects those places.

The name comes from plumbing: a pipe carries something from one place to another, and a data pipeline does the same kind of work for information. The route is planned in advance, so the same journey can happen again and again without being rebuilt each time.

What a data pipeline actually is

A data pipeline is a set of connected steps that move data from a source to a destination. The pipeline is the path between them, and the steps along that path decide what happens to the data on the way.

It helps to think of the pipeline as a carrier, not as a container. A pipeline moves data.

That movement is usually regular. The point is the same: the destination should stay up to date without someone having to move the data by hand.

Where a pipeline begins and ends

Every pipeline has a clear beginning and a clear end. The beginning is the source, the place where the information first exists. The end is the destination, the place where the information will be used.

A source is often a system that was built for a different job. The pipeline takes information out of those working systems without disturbing the work they were built to do.

The destination is often a place where information is gathered together. That gathered collection is sometimes called a dataset, and it is the pipeline that brings the pieces together.

The stages inside a pipeline

Between source and destination, a pipeline usually has three kinds of work to do. First, it collects the data. Second, it prepares the data. Third, it delivers the data.

Collecting means taking a copy of the information from the source, in a way that does not break the source or miss records. Care at this stage matters, because anything missed here will be missing at the end as well.

Preparing tidies the form without changing what the data means. It makes the meaning easier to use.

A dark hallway at night with plain blank pipes running along the wall, lit by warm off-white light, with one single glowing coral-red pipe joint

Delivering means placing the prepared data where it belongs, in the form the destination expects. A good delivery is quiet and complete: everything that should have arrived has arrived, and nothing has been counted twice.

Between these stages, data may need to wait. In that case, the records are held in line until they can move on. That holding place is a queue, and it keeps the pipeline steady when the pace of work is uneven.

Why teams build one before they analyse

It is tempting to start by looking at the data where it sits, and for a small question that can be enough. But analysis needs data that is complete, consistent, and current. A pipeline is built first so that the analysis that follows rests on firmer ground.

A pipeline also saves repeated effort. With one, the carrying and preparing happen once, in a defined way, and the results are available to everyone who needs them. The work is done in the open, in the same way each time, so the results can be checked and trusted.

There is a second reason, which is less obvious. A pipeline sets down the decisions about what the data means. Once those decisions are written into the pipeline, they are applied in the same way every time, and two people asking the same question should reach the same answer.

A dark workroom at night with plain blank metal pipes and a small workbench under warm lamplight, with one single glowing coral-red valve wheel

What can go wrong

A pipeline can fail in ways that are easy to miss, because the destination still looks full and the reports still appear. A source may change the way it writes a date, and the pipeline carries the new form through without noticing. A field that once held a number may start to hold words. A record may arrive twice, or not at all. The result is not an empty report. It is a report that looks right and is wrong.

That is why a good pipeline is watched, not just built. Teams check that the number of records arriving matches the number expected. They check that the values fall within a sensible range. They keep a note of when each delivery happened, so a gap can be spotted quickly. A pipeline that is checked regularly fails loudly, while one that is left alone fails quietly.

Breaks also happen when the two ends change without warning. A source may be replaced, a destination may be redesigned, or a new kind of record may appear. When that happens, the pipeline needs to be updated to match. A pipeline is not a thing that is finished once. It is a route that needs care as the places it connects change.

How to think about a data pipeline

When you hear that a team has built a pipeline, it is worth asking three simple questions. Where does the data come from? Where does it go? And what happens to it on the way? Those three answers describe the whole structure, and they are usually enough to tell whether the pipeline is simple or complicated, and whether it is doing careful work.

It is also worth asking who uses the result. A pipeline may feed a report that a person reads each morning, or it may feed another piece of software that acts on the data without a person in between. In the second case, the destination is often a small service built to do one job well, and a microservice is one such building block. The pipeline still does the same work: it carries the information to where it is needed, in a form that can be used.

A dark room at night with a plain blank desk and a closed laptop under warm lamplight, with one single glowing coral-red cable connector on the desk

In the end, a data pipeline is a simple idea with a practical purpose. It carries information from one place to another, prepares it on the way, and delivers it ready to use. Teams build one before they analyse because good analysis depends on data that arrives steadily, in one place, in a consistent form. The pipeline does not answer the question. It makes sure the answer, when it comes, is built on data that can be trusted.

Back to the journalDiscuss a project