Book a free call

What Is Data Engineering, and What Does It Actually Do?

Data engineering builds the pipelines that move data from apps and databases into clean, trusted tables. Learn how it works and how it differs from data science.

Hertiv engineering teamReviewed by a senior engineer
6 min read
What Is Data Engineering, and What Does It Actually Do?
On this page

Short answer

Data engineering is the work of building and running the systems that move data from where it is created to where it is used. Data engineers design pipelines that collect data from apps, databases and services, clean and reshape it, and store it in clean tables that analysts and models can trust.

What is data engineering?

Data engineering is the work of building and running the systems that move data from where it is created to where it is used. A data engineer designs pipelines that collect data from apps, databases and services, clean and reshape it, and store it in a form analysts and models can trust.

The work sits between the systems that produce data and the people who use it. An app writes orders into a database, a data engineer moves those orders into a warehouse, and an analyst then builds a report on top. Without that middle step, the analyst would have to pull data from each source by hand, and the numbers would rarely agree.

Data engineering covers the whole path: connecting sources, moving data on a schedule, checking its quality, modelling it into clean tables, and keeping the whole system running. It is engineering, not analysis: the output is a reliable system, not a single report.

How does data engineering work?

Data engineering works in a chain of steps, often called a pipeline. Each step takes data in one form and passes it on in a better form, and the pipeline runs on a schedule, such as every hour or every night.

First, data is extracted from its sources: app databases, files, APIs, event streams and third-party services. Connectors or small programs pull the data out, usually without changing it, so the raw copy stays available if something goes wrong later.

Next, the data is transformed. That means cleaning it: removing duplicates, fixing formats, filling or flagging missing values, and applying business rules, such as how revenue is defined or which customers count as active. The rules are written down and tested like any other code.

Then the cleaned data is loaded into a destination, usually a data warehouse or a lakehouse, where it is modelled into tables that match how people ask questions. Finally, the pipeline is monitored: every run is logged, failures raise alerts, and quality checks run on row counts and value ranges. Data engineering services cover this whole chain for teams that do not have the skill in-house.

Data engineering vs data science: what is different?

Data engineering and data science are often confused, because both work with data and both sit close to the same teams. The difference is what each one produces: engineers build the systems that deliver trustworthy data, while scientists use that data to answer questions and build models.

AreaData engineeringData science
Main outputReliable pipelines and clean tablesAnalysis, predictions and models
Daily workConnecting sources, writing transformsExploring data, testing models
Core skillsSQL, Python, pipelines, warehousesStatistics, modelling, experiment design
Success looks likeData arrives on time and is correctA decision or model that works in use
Depends onSource systems and business rulesClean, well-modelled data from engineers

The two roles depend on each other. A data scientist with no engineer spends most of their time cleaning data instead of modelling it, and an engineer with no scientist builds tables nobody uses. Most teams need both, and the engineer usually comes first, because the data has to be trustworthy before any model can be trusted.

What does a data engineer do day to day?

A data engineer spends most of the day building and maintaining pipelines, and the rest fixing them when they break. The work is a mix of writing code, reviewing data, and talking to the people who own the source systems and the people who use the tables.

Typical tasks include adding a new source to a pipeline, changing a transformation when a business rule changes, and adding quality checks when a new kind of bad data appears. Each change is reviewed and tested before it reaches production, because a wrong transformation can quietly corrupt every report built on it.

When a pipeline fails, the engineer reads the logs, finds the step that broke, and fixes the cause rather than just re-running it. Common causes are a source that changed its format, a value that arrived in an unexpected form, or a table that grew past a limit. The fix often includes a check so the same failure is caught earlier next time.

The engineer also keeps the system documented: which sources feed which tables, what each field means, and who owns each pipeline. That record matters more as the team grows, because the next person to maintain a pipeline needs it more than they need another feature. What is a data pipeline describes the parts a pipeline is made of.

Example (hypothetical): a daily sales pipeline

Example (hypothetical): a small retailer takes orders from three sources: a website, a shop till and a phone app. Each source records about 4,000 orders a day, so the three together produce 3 times 4,000, which is 12,000 orders a day.

A data engineer builds a pipeline that pulls the orders each night, removes duplicates, standardises the product codes, and loads the result into one clean table. Over 30 days, the table holds 30 times 12,000, which is 360,000 orders.

Each night the pipeline runs a quality check. One night it finds 180 orders with a missing product code. That is 180 out of 360,000, which is 0.05% of the month's orders, and the pipeline flags them for the team instead of loading them silently.

The numbers are invented to show the arithmetic, not a real project. The point is that the pipeline turns three messy sources into one table the team can trust, and the quality check is what makes the trust possible. What is a data lakehouse explains where a table like this usually lives.

Common mistakes in data engineering

Common mistakes in data engineering start with building pipelines before agreeing on definitions. If two teams define revenue differently, their tables will disagree, and no amount of pipeline work will fix the argument. Agree on the meaning of each field before writing the transformation.

A second mistake is skipping quality checks. A pipeline without checks can run for months while bad data flows into every report, and the first person to notice is usually a manager who no longer trusts the numbers. Add checks on row counts and null rates from the first version.

A third mistake is copying raw data into every new table instead of modelling it once. When the same rule is written in five places, a change to the rule means five edits, and one of them will be missed. Model the rule once in a clean table, and let other tables build on it.

A fourth mistake is treating the pipeline as finished once it runs. Sources change, formats drift, and business rules move. Plan for maintenance from the start, with an owner for each pipeline and a weekly review of failures and quality flags.

How to start with data engineering

Start with data engineering by picking one report that people already use and that suffers from manual copying, then build one pipeline for it. A single clean table that people trust is worth more than a warehouse full of untested data.

  1. Pick one report. Choose a dashboard or analysis that people already use and that is built by hand today.
  2. Map the sources. List every system the report needs, who owns each one, and how often its data changes.
  3. Define the clean table. Agree on the fields, the meaning of each one, and the business rules, before writing any code.
  4. Add quality checks. At minimum, check row counts and null rates on every run, and alert on failure.
  5. Schedule and monitor. Run the pipeline on a schedule, review the runs weekly at first, and document sources, owners and known quirks as you go.

Once the first pipeline is reliable, repeat the pattern for the next report. The patterns, checks and documentation from the first pipeline make each later one faster. If the work is part of a wider data programme, data engineering support can help set up those patterns once and reuse them across the team.

Key takeaways

  • Data engineering builds pipelines that deliver trustworthy data; it is not the same as analysis.
  • A pipeline extracts, transforms and loads data on a schedule, with quality checks on every run.
  • Data science depends on data engineering: no model can be trusted on untrusted data.
  • Agree on the meaning of each field before writing a transformation, or tables will disagree.
  • Start with one report people already use, and build one reliable pipeline for it.

Frequently asked questions

What is the difference between data engineering and data analytics?

Data engineering builds the systems and pipelines that deliver clean, trusted data. Data analytics uses that data to answer business questions with reports and dashboards. Analytics depends on engineering, because a report is only as good as the data behind it.

Do data engineers need to know machine learning?

Not usually. A data engineer needs SQL, a programming language such as Python, and a good grasp of pipelines, warehouses and data quality. Machine learning knowledge helps when working with data scientists, but building models is the scientist's job, not the engineer's.

What tools do data engineers use?

Common tools include SQL and Python for transformations, pipeline orchestrators for scheduling, warehouses or lakehouses for storage, and version control for the code. The exact tools matter less than having one owner per pipeline and tests on every run.

Is data engineering a good first job in data?

It can be. Data engineering teaches SQL, pipelines and how data systems actually work, which are useful in any data role. It suits people who enjoy building reliable systems and fixing problems when they break, rather than writing reports.

How is data engineering different from software engineering?

Both write code, but data engineering focuses on data movement, quality and modelling, while software engineering focuses on applications and user-facing features. The skills overlap, and many data engineers come from a software background.

What happens when a data pipeline fails?

The pipeline logs the failure and raises an alert, and the engineer finds the step that broke. Common causes are a source that changed its format or a value in an unexpected form. The fix usually includes a check so the same failure is caught earlier next time.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building data pipelines and need the data you can trust? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Data Engineering service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call