What does a data engineer actually do, and does my business need one?

TL;DR

Difficulty: Beginner

A data engineer builds and runs the system that moves data from where it is created to where it is used, and makes sure it arrives complete, on time and correct.

  • The lifecycle: generation, storage, ingestion, transformation and serving, with security, data management, DataOps, architecture, orchestration and software engineering underneath.
  • For most small businesses the problem is correctness, not size: five years of orders at a shop taking 1,980 a month is about 119,000 rows.
  • You need data engineering when reports combine several systems, take days, disagree, or feed automated decisions. Start small: a read replica, then a warehouse with dbt, tests and a schedule.

Your shop says one revenue figure, Google Analytics another, your spreadsheet a third. Data engineering is the work that turns that into one number you can trust. This first chapter of the series explains what a data engineer actually does, stage by stage, walks through one online shop's entire data landscape, and helps you decide whether your business needs this work yet.

The short answer: a data engineer makes numbers you can trust

A data engineer builds and runs the system that moves data from the places where it is created to the places where people use it, and makes sure it arrives complete, on time and correct. That is the whole job in one sentence. Everything else in this article is what that sentence means in practice.

Most businesses never notice that they need this. They notice the symptom instead: two reports that should agree and do not, a Monday morning spent in spreadsheets, a marketing figure nobody quite believes. Data engineering is the cure for that symptom, and like most cures it is worth knowing before you need it.

This is the first chapter of a series of 28. The series walks from the basics every data engineer must know, through a long and detailed block on cleaning raw data, to the expert topics of a data platform. This chapter draws the map. It answers two questions: what does a data engineer actually do, and does your business need one yet?

Example: one question, three answers

Throughout this series I use one invented business. Shannonside Home is an online homeware shop in Limerick (shannonsidehome.example). Niamh owns it. Callum is her developer, and over time he has also become her data engineer. The shop sells about 1,400 products and takes about 1,980 orders a month, at an average order value of €84 including VAT.

On the first Monday of November, Niamh asks a plain question: "How much did we really take in October, after returns?" She gets three answers.

  • The shop's admin screen shows 1,980 orders at €84, so €166,320 including VAT.
  • Google Analytics 4 (GA4) shows about 15% fewer purchases than the shop, because some visitors decline cookies or block tracking. So it reports 1,980 × 0.85 = 1,683 purchases, and 1,683 × €84 = €141,372.
  • Callum's spreadsheet takes away returns. Returns run at 9% of orders, so 1,980 × 0.09 = 178.2, about 178 returned orders. If each return is a full refund at the average value, that is 178 × €84 = €14,952. So €166,320 minus €14,952 = €151,368 including VAT. Without the 23% VAT that is €151,368 ÷ 1.23 ≈ €123,063.

Three numbers: €166,320, €141,372 and €123,063. None of them is a lie. Each answers a slightly different question from a different system. And there is a fourth problem hiding underneath: the warehouse company that handles returns sends its file up to five days late, so on 1 November Callum's spreadsheet only knows about some of October's returns.

A data engineer's work is to make sure that when Niamh asks "how much did we take", there is one agreed definition, one pipeline that computes it the same way every time, and a note that says how complete the latest month is. The rest of this article shows how.

Where the job came from

The title "data engineer" is younger than most people think. For decades the same work was called business intelligence, data warehousing or "ETL", short for extract, transform, load: take data out of a system, reshape it, put it into a reporting database.

In January 2017, the engineer Maxime Beauchemin wrote an essay called The Rise of the Data Engineer. He described the field as "a superset of business intelligence and data warehousing that brings more elements from software engineering", and said that data engineers "build tools, infrastructure, frameworks, and services".1 That last part is the shift. The old reporting specialist worked inside a tool. The data engineer writes software, with version control, tests and deployments, whose product happens to be data.

Example: the same task, then and now

Ten years ago, Shannonside Home's monthly report would have been built like this: once a month, someone exports orders to a CSV file, opens it in Excel, deletes the test orders by eye, pastes in the returns from the warehouse's email, and saves "Report October FINAL v3.xlsx".

The engineered version does the same steps as code. A script fetches the orders every night. A second step removes test orders by a written rule. A third joins returns as they arrive. A test checks that the order count matches the shop. The report reads from the result. If Niamh asks in March why October changed, Callum can show her exactly which late returns arrived on which day, because every step is recorded. The steps are the same. The difference is that the engineered version can be rerun, checked and explained.

The data engineering lifecycle in five stages

The clearest description of the job I know comes from Joe Reis and Matt Housley's book Fundamentals of Data Engineering (O'Reilly, 2022). They describe a lifecycle of five stages: generation, storage, ingestion, transformation and serving.2 Data is born somewhere, it is kept somewhere, it is moved, it is reshaped, and it is handed to the people and systems that use it.

The stages are not a strict sequence. Storage, for example, happens at every step, and that is why the authors place it underneath the others rather than in a line. But as a map it works, and every chapter in this series sits somewhere on it.

Generation: where data is born

Generation is every system that creates data: the shop, the payment providers, the analytics tag, the ad platforms, the warehouse company, the people typing into spreadsheets. The data engineer usually does not own these systems. They need to understand them deeply all the same: what each row means, when it is written, when it can change, and what happens when something goes wrong.

Example: an order is born in Solidus. Shannonside Home runs on Ruby on Rails and Solidus, an open source eCommerce platform, with a PostgreSQL database. When a customer pays, Solidus writes a row in the table spree_orders, with columns such as number, state, total, included_tax_total, completed_at, email and currency, and one row per product in spree_line_items, with order_id, variant_id, quantity and price.3 Callum needs to know that completed_at is the moment the order was placed, that state later changes to canceled or returned, and that total includes shipping and VAT. None of that is visible in a report. All of it changes the numbers.

Storage: where data is kept

Storage is where data lives at each step: the shop's own database, files on a server, a cloud warehouse. The choice decides how fast questions can be answered, what they cost and who can see the data. For a business of Shannonside Home's size, the honest options are a second PostgreSQL database used only for reporting, or a cloud warehouse such as Google BigQuery, Snowflake, Amazon Redshift or ClickHouse. A later chapter in this series compares them in depth.

Example: a location for the warehouse. Callum chooses BigQuery, because Shannonside Home already sends its GA4 data there. BigQuery asks for a location when he creates each dataset, and there is no Irish region on the list, so he picks Belgium, the region europe-west1.4 That keeps customer data inside the EU and avoids any question of transfers outside it. He writes the choice down in the project notes. This is a five minute decision that is painful to change later, because a dataset's location cannot be edited, only copied.

Ingestion: moving data in

Ingestion is moving data from the source systems into storage. It sounds like the boring bit. It is where most pipelines break, because it is where you depend on systems you do not control: an API changes a field, a file arrives late, a password expires.

Example: four ways in for four sources. At Shannonside Home the GA4 data arrives by itself, because Google writes one table per day, named events_YYYYMMDD, into BigQuery.5 The Google Ads cost data must be fetched through the Google Ads API with a reporting query.6 Stripe offers a payout reconciliation report that lists which transactions make up each bank payout.7 And the warehouse company drops a CSV file on a server every morning. Four sources, four completely different ways in, each with its own way of failing.

Transformation: making raw data useful

Transformation turns raw data into something people can use: fixing types, renaming columns, removing test orders, joining returns to orders, computing net revenue. This is where the business rules live, and where cleaning happens. It is the stage this series spends the most time on, because it is where a number becomes right or wrong.

Example: from three answers to one. Callum writes one transformation that defines October's net revenue for Niamh: completed orders, minus cancelled orders, minus test and staff orders, minus refunds and returns, without VAT. He writes the rule down, gives it a version number, and the report shows "returns known up to 4 November" under the figure. Niamh now gets one number, and she knows how final it is.

Serving: handing data to people and systems

Serving is giving the transformed data to whoever uses it: a dashboard, a spreadsheet, a forecast, a marketing tool, an ad platform that bids on conversion values. The work is not finished when the table exists. It is finished when the right person uses it to make a decision.

Example: one table, three users. The same clean orders table feeds Niamh's monthly report, the demand forecast that decides how many oak side tables to reorder, and the list of high value customers that goes to the newsletter tool. If the table is wrong, all three are wrong at once. That is why serving is where trust is won or lost.

The six undercurrents that run under every stage

Reis and Housley add six "undercurrents" that run under all five stages: security, data management, DataOps, data architecture, orchestration and software engineering.2 These are the parts that separate a pipeline that works today from one that still works next year.

UndercurrentWhat it means in plain wordsAt Shannonside Home
SecurityOnly the right people and programs can see or change dataCallum's loader can read the shop database but never write to it
Data managementDefinitions, ownership, quality, privacy and retention"Net revenue" is written down once, with Niamh as its owner
DataOpsRunning pipelines like software: monitoring, alerts, incident handlingA failed night run sends Callum a message before 7am
Data architectureHow the pieces fit together, and whyRaw data is kept unchanged, clean tables are built from it
OrchestrationRunning the steps in the right order, at the right time, with retriesReturns are loaded before the returns report is built
Software engineeringCode, version control, tests, reviews, deploymentsEvery SQL model lives in Git and has tests

Example: the undercurrent that saves a Tuesday

On a Tuesday in spring, the warehouse company's server rejects Callum's login, because they rotated passwords without telling anyone. Without the undercurrents, the pipeline runs anyway, loads nothing, and the returns report quietly shows zero returns for the day. Niamh sees a great day and moves on.

With the undercurrents, three things happen. Orchestration notices the file step failed and does not build the report on top of it. DataOps sends Callum an alert at 6.15am. Data management means the report shows "returns data last updated Monday" instead of a confident zero. The fault is the same. The outcome is entirely different, and that difference is most of what a good data engineer is paid for.

What a pipeline is, part by part

"Pipeline" is the word you will hear most. A pipeline is a series of steps that takes data from a source, through checks and changes, to a destination, automatically and repeatably. Every pipeline, however large, has the same parts.

PartWhat it doesThe question it answers
SourceThe system or file the data comes fromWhere does this data come from, and who owns it?
ExtractReads the data out of the sourceWhat exactly arrived, and when?
LoadWrites it, unchanged, into storageIs there always a way back to the original?
TransformTypes, cleans, applies business rules, modelsWhat does this data mean for the business?
TestChecks counts, keys, values and freshnessIs it right, and is it complete?
ServePuts the result where people and tools use itWho uses this, and for what decision?
ScheduleRuns every part in order, at set timesWhen does it run, and what waits for what?
MonitorWatches each run and alerts on troubleWill Callum know before Niamh does?

Two rules hold for every part. First, keep the raw data exactly as you received it, with a note of where and when it came from. If a rule turns out to be wrong, you rerun the transformation from the raw data. If you overwrote the raw data, the mistake is permanent. Second, make every step safe to run twice. A step that adds yesterday's rows again when it is rerun will double your revenue the first time someone presses "retry". Engineers call this property idempotence: running the step once or five times gives the same result.

Example: the warehouse returns file, step by step

The warehouse company (a third party logistics provider, or 3PL) sends Shannonside Home a file of yesterday's returns every morning. It looks like this:

RMA;SKU;QTY;RETURNED_AT;REASON
R-20481;SHN-10234;1;24/10/2026 17:42;Café table leg scratched
R-20482;SHN-11807;2;24/10/2026 18:05;Wrong colour

Five details in two lines will break a careless pipeline. The fields are separated by semicolons, not commas. The file is encoded as Windows 1252, an old Microsoft character set, so the "é" in "Café" turns into garbage if you read it as UTF 8, the standard encoding of the web. The SKU has a prefix, SHN-, that the shop does not use. The time stamp has no time zone, and it is Irish local time, while the shop stores everything in Coordinated Universal Time (UTC). And the date is day first, which an American tool will happily read as the 24th month. The CSV format itself is only loosely standardised. RFC 4180 describes the common form, with commas, and many real files ignore it.8

Here is the extract and load step in Python with the pandas library. It does deliberately little: it reads the file the way the 3PL wrote it, keeps every value as text and adds two columns that record where and when the data came from.

from datetime import datetime, timezone
import pandas as pd

def load_3pl_returns(path: str) -> pd.DataFrame:
    """Read the 3PL returns file exactly as delivered. No cleaning here."""
    df = pd.read_csv(
        path,
        sep=";",               # the 3PL uses semicolons, not commas
        encoding="cp1252",     # Windows 1252, so "Café" survives
        dtype=str,             # keep every value as text, type it later on purpose
        keep_default_na=False, # an empty cell stays "", it does not become NaN
    )
    df["_source_file"] = path
    df["_loaded_at"] = datetime.now(timezone.utc)
    return df

The transformation comes later and separately, in SQL: strip the SHN- prefix to match the shop's SKU, parse 24/10/2026 17:42 with an explicit day first format, convert it from Irish local time to UTC, and join it to the order. Keeping the two apart means that when the 3PL changes its file next year, only one small step changes, and the original files are still there to reprocess.

Tap or click to open full screen and move around

The whole data landscape of one online shop

A small online shop has more data sources than most owners would guess. Listing them is the first thing a data engineer does in a new business, because you cannot design anything until you know what exists, how it arrives and what is wrong with it.

Here is the complete landscape of Shannonside Home. Every chapter of this series works with these same sources and these same known problems.

SourceWhat it holdsHow it arrivesHow oftenKnown problem
Shop database (Solidus on PostgreSQL)Orders, line items, customers, addresses, products, payments, refunds, returnsRead from a replicaNightly, later hourly3.1% duplicate customer accounts, about 40 test and staff orders a year, legacy prices stored as floating point numbers, country as free text in old addresses
GA4 BigQuery exportWebsite events: page views, add to basket, purchasesWritten by Google into BigQueryDailyAbout 15% fewer purchases than the shop, because of consent and blockers
Google Ads and Meta AdsSpend, clicks, impressions, platform reported conversionsAPIsDaily, with corrections for several days afterPlatforms revise recent days, and each counts conversions its own way
Stripe and PayPalSettlements: payments, fees, refunds, payoutsReports and filesDailyAmounts after fees, grouped by payout date, not order date
3PL warehouseShipments and returnsSemicolon CSV, Windows 1252, on a serverDailyOwn SKU format with a prefix, local time without a zone, returns up to five days late
Supplier feedsProduct data, stock, dimensionsCSV and XMLDaily or weeklyOne supplier sends dimensions in mm, the others in cm
Newsletter tool38,000 subscribers, opens, clicks, consentExportWeeklyEmail addresses in a different case from the shop
Customer service toolTickets, reasons, linked ordersExport or APIDailyOrder numbers typed by hand
Marketing costs spreadsheetCosts outside the ad platforms: agencies, samples, influencersA sheet kept by handWhenever someone remembersFree text, gaps, the odd typo

About 2% of orders also have a missing or invalid phone number, and the time stamps from the 3PL are local time while the shop stores UTC. None of these problems is unusual. A later chapter in this series is entirely about why raw data is never clean.

Example: drawing the landscape

Callum draws the landscape before writing a line of code, as a picture Niamh can follow. Every source lands in a raw layer unchanged. A staging layer fixes types and names. Tests run. Only if they pass do the modelled tables, called marts, get rebuilt. Reports and data science read only from the marts, never from the raw data.

Tap or click to open full screen and move around

How big is the data, really?

Data engineering is often sold as a problem of size: "big data", clusters, streaming. For most small and medium businesses, that is the wrong picture. Their data is small. Their problem is correctness, not volume.

It is worth doing the sums, because they decide which tools are sensible and what they will cost.

Example: the shop's data, counted

The order table is the heart of the business, and it is tiny by database standards. At 1,980 orders a month, that is about 23,760 a year, and over five years of history about 23,760 × 5 = 118,800 orders. If each order holds 2.3 products on average (an invented figure for the example), that is about 118,800 × 2.3 = 273,240 line items. Any database, including the shop's own PostgreSQL, answers questions about a quarter of a million rows in well under a second.

GA4 is where the volume is. With 110,000 sessions a month and, say, 18 events per session (also invented for the example: page views, scrolls, add to basket and so on), the shop produces 110,000 × 18 = 1,980,000 events a month, or about 1,980,000 ÷ 30.4 ≈ 65,000 events a day. Google's daily BigQuery export for a standard GA4 property is limited to 1 million events a day.5 Shannonside Home uses about 6.5% of that, so it has plenty of room to grow.

If each event takes about 1.5 KB in BigQuery (another rough, invented assumption, since the real size depends on the parameters you send), a month of events is about 3 GB and a year about 36 GB. That is a real table, but it is not "big data" in any sense that needs special machinery.

DataRows a yearRows over five yearsPressure
Orders23,760118,800Correctness
Line items (2.3 per order, invented)54,648273,240Correctness
GA4 events (18 per session, invented)about 23.8 millionabout 119 millionSome volume, mostly cost of queries
3PL returns rows (9% of orders)about 2,140about 10,700Timeliness: up to five days late

What a small warehouse costs to query

BigQuery's on demand pricing charges for the data each query reads, and the first 1 TiB (tebibyte, 1,024 GiB) of query data processed each month is free. The first 10 GiB of storage each month is also free.9 So a useful way to judge whether costs matter is to ask how many times a month you could scan your largest table before you pay anything for queries.

nscans=QfreeStablen_{\text{scans}} = \frac{Q_{\text{free}}}{S_{\text{table}}}

Here nscansn_{\text{scans}} is the number of full reads of the table that fit into the free allowance, QfreeQ_{\text{free}} is the free query allowance per month, and StableS_{\text{table}} is the size of the table that each query reads. It is a simple ratio, explained in Foundations: ratios and rates.

Example: how often Callum can read a year of GA4 data for free. One year of events is about 36 GB, which is about 33.5 GiB, because 36 × 10⁹ bytes ÷ 1,073,741,824 bytes per GiB ≈ 33.5. The free allowance is 1,024 GiB.

nscans=102433.5=30.6n_{\text{scans}} = \frac{1024}{33.5} = 30.6

So nscans≈30n_{\text{scans}} \approx 30: Callum could read the entire year of events about 30 times a month before paying for a single query. In practice he reads far less, because a well built table lets a query read only the days and columns it needs. Storage beyond the free 10 GiB is charged per GiB per month, in US dollars, at prices that differ by region, so check the current price page for your region before you plan a budget. A later chapter on performance and cost goes into this in detail. The lesson for now: for a business of this size, the warehouse bill is rarely the problem. Time spent on wrong numbers is.

Data engineer, analyst, scientist: who does what

People mix these three roles up constantly, and job adverts make it worse. In one paragraph: the data engineer builds and runs the pipelines and the tables, so that data arrives complete, correct and on time. The data analyst uses those tables to answer business questions and build reports. The data scientist uses them to build models that predict or explain, such as a demand forecast or a customer's expected lifetime value. In a small business, one person often wears two or all three hats, and that is fine as long as everyone knows which hat is on. I have written a whole article on who does what between data engineers, scientists and analysts, and another on how the three roles grow an eCommerce or SaaS business in practice.

Example: one question, three roles

Niamh asks: "Should we stop selling the lowest priced candle range?"

  • Callum, as data engineer, makes sure the line items, returns, payment fees and product costs all reach the warehouse, joined correctly at the level of one product in one order.
  • As analyst, he computes the contribution margin of the range after returns and fees, and shows it next to the others.
  • As data scientist, he estimates how many candle buyers go on to buy other products, so that dropping the range does not cut off a stream of new customers.

The analyst's answer is only as good as the engineer's tables, and the scientist's model is only as good as both.

How much of the job is cleaning and moving data

There is a famous claim that data people spend 80% of their time cleaning data. I could not trace it to a reliable primary source, so I do not use it. There is a dated survey that asked the question directly. In Anaconda's 2020 State of Data Science survey, 2,360 people from more than 100 countries answered an online questionnaire between 12 February and 20 April 2020. Asked to split their working time across tasks, the 1,099 respondents to that question reported 19% on data loading and 26% on data cleansing, so 45% together, ahead of visualisation (21%) and the three modelling tasks (11%, 12% and 11%).10

Read it for what it is: a self reported survey of data scientists and analysts, run by a company that sells data science software, with respondents recruited through social media and its own mailing list. It is not a measurement of your business. But the direction is plain: where pipelines are weak, highly paid analysts and scientists spend a large share of their week doing a data engineer's job by hand.

Bar chart of the share of working time by task reported by 1,099 respondents to Anaconda's 2020 State of Data Science survey: data cleansing 26%, data visualisation 21%, data loading 19%, model training and scoring 12%, model selection 11%, deploying models 11%. Loading and cleansing together take 45%. Tap or click to open full screen and move around

Example: what 45% looks like in Callum's month

Before any pipeline existed, Callum kept a rough log of his reporting time for one month (the hours are invented for the example). Exporting orders, ads and returns: 4 hours. Fixing and matching them in spreadsheets: 7 hours. Building the report itself: 3 hours. Total 14 hours, of which 4 + 7 = 11 hours, or 11 ÷ 14 ≈ 79%, is loading and cleaning. Even in a shop this small, the plumbing eats most of the reporting time. That is the time a pipeline gives back.

What a data engineer does in a typical week

Job titles are abstract. A week is concrete. Here is what the work looks like once a business has a small pipeline running. The proportions differ by business, but the kinds of task do not.

TaskWhat it involvesWhy it matters
Check the overnight runsRead alerts, look at freshness and row countsProblems are found before anyone opens a report
Add or fix a sourceA new supplier feed, a changed API fieldSources change without asking
Write and review transformationsSQL models, business rules, testsThis is where numbers become right
Answer "why does this not match?"Trace a number back to the raw rowsTrust is kept one question at a time
DocumentDefinitions, owners, known gapsNext year's colleague, or next year's you, depends on it
Look after access and privacyWho can see personal data, what is deleted whenIt is the law, and it is the customers' data
Watch cost and speedSlow or expensive queriesSmall leaks become real money over a year

Example: a Thursday morning alert

At 7.40am Callum sees an alert: yesterday's Meta cost data has 312 rows instead of the usual 480 or so. He checks the API response stored in the raw layer and finds that Meta returned only the first page of results, because his code stopped following the "next page" link after a change to the response. He fixes the code, writes a test that feeds it a two page response, reruns yesterday's load and confirms 478 rows. Without the row count check, the cost per order in Friday's report would have looked about a third better than it was, and Niamh might have raised the Meta budget on the strength of a bug.

The skills a data engineer needs

The core skills are fewer than job adverts suggest, and deeper. In order of how often they matter:

  1. SQL, properly: joins and what they do to row counts, NULL, window functions, time zones. Almost every transformation is SQL. A later chapter in this series is devoted to the SQL traps that return a wrong number without an error.
  2. Data modelling: deciding what one row of a table means, its grain, and designing tables around the questions people ask.
  3. One programming language, usually Python, for the parts SQL cannot do: calling APIs, reading awkward files, testing.
  4. The tools of software engineering: Git, code review, automated tests, deployments. I work test first and put every release through a test gate and a release register, and the same habits apply to data. If you are new to the idea, start with test driven development explained.
  5. The warehouse and a transformation tool: for example BigQuery and dbt, a tool that turns SQL select statements into tested, documented tables.11
  6. Orchestration: running steps in order with retries, from a simple scheduled job to tools such as Apache Airflow, which describes workflows as a DAG (a directed acyclic graph, meaning steps with arrows that never loop back), or Dagster, which organises work around the data assets it produces.1213
  7. The business: what an order, a refund and a return mean in this shop. This is the skill that is hardest to hire and quickest to undervalue.

Example: the SQL behind Niamh's question

Here is the first version of "October revenue as the shop sees it", run against a read only copy of the shop database. It is short, and it already holds three decisions a data engineer has to get right.

-- PostgreSQL. Solidus stores completed_at in UTC.
-- October in Ireland runs from 1 Oct 00:00 IST (= 30 Sep 23:00 UTC)
-- to 1 Nov 00:00 GMT (= 1 Nov 00:00 UTC), because the clocks went back on 25 Oct.
SELECT
  count(*)                 AS orders,
  sum(total)               AS revenue_incl_vat,
  sum(included_tax_total)  AS vat_included
FROM spree_orders
WHERE completed_at >= TIMESTAMP '2026-09-30 23:00:00'
  AND completed_at <  TIMESTAMP '2026-11-01 00:00:00'
  AND state <> 'canceled';

First, the month boundary: the shop stores UTC, Niamh thinks in Irish time, and October 2026 starts on Irish Standard Time, the summer time, and ends after the clocks go back to GMT. Get this wrong and orders from late on 30 September land in October. Second, total includes shipping, so "revenue" here means what the customer paid, not product sales. Third, it says nothing yet about test orders, refunds or late returns. Each of those is a business rule, and each gets its own chapter later in this series.

Signs your business needs data engineering

Not every business needs a data engineer, and certainly not a full time one. These are the signs that it is time to invest. One sign alone rarely justifies it. Three or more usually do.

SignWhat it looks likeWhat it costs
The same number differs between reportsRevenue in the shop, GA4 and the bank never agree, and nobody can say whyMeetings spent arguing about which number is right
Reporting takes days of manual workExports and spreadsheets every monthSenior time spent copying and pasting
Data lives in more than two systems that must be combinedOrders, ads, payments and stock in separate toolsNobody can see margin per channel
Decisions wait for data"Ask again next week"Slow reactions to stock, ads or prices
Ad platforms or models are fed data automaticallyConversion values, audiences, forecastsA data error turns into wasted spend or wrong stock
Nobody can say where a number came fromA figure in the board pack with no trailTrust drops, and with it the use of data at all

Signs it does not need it yet

The honest answer is often "not yet", and that is grand. You probably do not need data engineering if your questions are answered by one system's built in reports, if a monthly export takes less than an hour, if nobody makes automated decisions on the data, and if the numbers you use already agree with the bank. In that case, write down your definitions (what counts as an order, what counts as revenue), keep exports in one place, and revisit in six months. Clear definitions in a spreadsheet beat an expensive pipeline that computes the wrong thing. The glossary of eCommerce numbers is a good place to start those definitions.

Tap or click to open full screen and move around

Example: Shannonside Home runs the checklist

Shannonside Home's monthly report combines the shop, GA4, Google Ads, Meta, Stripe, PayPal and the 3PL: seven systems. Assembling it takes Callum about 14 hours. The shop, GA4 and Callum's spreadsheet disagree on October's revenue by up to €43,257 (€166,320 minus €123,063). And Google and Meta bid on conversion values the shop sends them, so an error there spends real money. Four signs out of six. Shannonside Home needs data engineering, and the decision flow points to a small pipeline, not a large platform.

Is it worth it? A simple payback sum

A pipeline is an investment of time. The simplest way to judge it is to ask how many months of saved manual work pay back the time it takes to build.

tpayback=HbuildHmanual−Hrunt_{\text{payback}} = \frac{H_{\text{build}}}{H_{\text{manual}} - H_{\text{run}}}

Here tpaybackt_{\text{payback}} is the payback time in months, HbuildH_{\text{build}} is the hours needed to build the pipeline, HmanualH_{\text{manual}} is the hours a month the manual process takes today, and HrunH_{\text{run}} is the hours a month needed to look after the pipeline once it runs. The bottom of the fraction is the monthly saving. Ratios like this are explained in Foundations: ratios and rates.

Example: Callum's sum. Callum estimates 60 hours to build the first pipeline for the monthly report: sources, raw layer, staging, the revenue rule, tests and a schedule. Today the report takes 14 hours a month. Once the pipeline runs, he expects about 3 hours a month for alerts, small fixes and reviews. All three figures are invented for the example.

tpayback=6014−3=5.5t_{\text{payback}} = \frac{60}{14 - 3} = 5.5

So tpayback≈5.5t_{\text{payback}} \approx 5.5 months. After that, the pipeline saves 11 hours a month. The sum leaves out the larger benefit, which is harder to count: decisions made on the right number. If one wrong Meta budget decision a year is avoided, that alone may be worth more than the build.

A word of honesty about the inputs. Build estimates for a first pipeline are usually too low, because the first source always hides surprises. Double HbuildH_{\text{build}} and the payback becomes 120 ÷ 11 ≈ 10.9 months, which is still a good investment. If the sum only works with an optimistic estimate, wait.

How to get data engineering without hiring a full time engineer

A data engineer is a role, not necessarily a person on the payroll. For a business of Shannonside Home's size there are four realistic stages, and you move up only when the one below stops being enough.

StageWhat it isWhen it is enough
1. Exports and definitionsBuilt in reports, monthly exports, one spreadsheet with written definitionsOne or two systems, a monthly report under an hour
2. A read replica and SQLA read only copy of the shop database and a set of saved, reviewed SQL queriesQuestions mostly about orders and customers
3. A warehouse with dbt and a schedulerSeveral sources loaded daily into BigQuery or PostgreSQL, transformed and tested with dbt, run by a scheduled job with alertsSeveral sources, reports that must agree, automated decisions
4. An orchestrator, and later streamingDagster or Airflow, more sources, near real time only where it paysMany dependencies, several people, a business that acts within minutes

A read replica is a second copy of the database that the main database keeps up to date and that accepts only read only queries. PostgreSQL calls this a hot standby.14 It lets you query the shop's data without slowing down the checkout, which is the first rule of reporting on a live shop: never run heavy queries against the database customers are buying from.

Who does the work at each stage is a separate question. A developer who knows the shop well, like Callum, can grow into stages 2 and 3, with outside help to set up the foundations. A specialist on a fixed engagement can build stage 3 and hand it over with documentation and tests. A full time data engineer starts to make sense at stage 4, or when several people depend on the data every day. I build shops on Ruby on Rails and Solidus and run data science work such as forecasting, lifetime value and segmentation for clients, so stage 3 is where I usually meet a business. I publish my prices openly, so you can check whether an engagement makes sense before you get in touch.

Example: a twelve month plan for the shop

Callum and Niamh agree a plan in three steps. In the first month, a read replica of the shop database and five reviewed SQL queries for the questions Niamh asks most. In months two to four, BigQuery in Belgium, the shop, GA4, ad costs and the 3PL loaded daily, a dbt project with staging and marts, tests on every key, and a scheduled job that alerts Callum. From month five, payment settlements, supplier feeds and the marketing spreadsheet, and the first forecast built on clean data. An orchestrator such as Dagster waits until the scheduled job becomes hard to manage. Streaming waits until a decision genuinely needs data within minutes, which for this shop may be never.

If you want to see how such a warehouse is wired to a Rails and Solidus shop, I have described it step by step in setting up Google BigQuery for a Rails and Solidus shop.

What "good" looks like

How do you know whether the data engineering in your business is any good, whether you built it, hired it or inherited it? Five properties, each of which you can check without reading any code.

One trusted number per question

Every important question has one definition, written down, with an owner, and every report uses it. "Revenue" without a definition is three numbers in three meetings. When systems legitimately differ, as the shop, GA4 and the ad platforms always will, the difference is explained, not argued about. I have written a separate article on reconciling analytics, ads and orders.

Example: net revenue, defined once. Niamh and Callum write: "Net revenue for a month is the sum of completed orders placed in that month in Irish time, without VAT, excluding cancelled, test and staff orders, minus refunds and returns for those orders known at the time of reporting. Owner: Niamh. Version 1, 3 November 2026." The definition sits next to the report, and every chart that says "net revenue" uses it.

Reproducible

Run the same pipeline on the same raw data and you get the same numbers, today or in a year. That needs the raw data kept, the code in version control and the rules versioned. When a number changes, you can say exactly why: new data arrived, or a rule changed.

Example: why October changed. In March, Niamh notices that October's net revenue is €214 lower than in the November report. Callum checks: a customer returned an order in January, more than two months after buying, and the rule counts returns against the month of the order. The raw 3PL file from January holds the row, the rule version is unchanged, and the explanation takes five minutes instead of an afternoon.

Documented

Every table says what one row means, where it comes from, who owns it and what is known to be wrong with it. Documentation that lives next to the code, as it does in dbt, stays up to date far more often than a separate wiki.

Example: a table that explains itself. The documentation of fct_orders reads: "One row per completed order. Source: spree_orders via the read replica. Excludes test and staff orders (rule v1). Known gap: about 2% of orders have no valid phone number, so phone based matching misses them." A new analyst can use the table safely on day one.

Tested

Automated checks run on every load: keys are unique, required fields are present, values are in the allowed set, every order points to a customer that exists, data is fresh. When a test fails, the run stops before the wrong number reaches a report. dbt calls these data tests, and they are written in a few lines of YAML next to the model.15

Example: the tests on Shannonside Home's orders. This is part of Callum's dbt project. It warns if the 3PL returns have not been loaded for 26 hours and fails after 50, and it checks that order numbers are unique and present and that every order points to a known customer. The syntax follows current dbt, where freshness moved under config in version 1.9 and the test arguments under arguments in version 1.10.5.1615

version: 2

sources:
  - name: threepl
    schema: raw_threepl
    config:
      freshness:
        warn_after: {count: 26, period: hour}
        error_after: {count: 50, period: hour}
      loaded_at_field: _loaded_at
    tables:
      - name: returns

models:
  - name: fct_orders
    description: "One row per completed order, test and staff orders removed (rule v1)."
    columns:
      - name: order_number
        data_tests:
          - unique
          - not_null
      - name: customer_id
        data_tests:
          - relationships:
              arguments:
                to: ref('dim_customers')
                field: customer_id

A small detail an experienced engineer will appreciate: dbt's relationships test skips NULL values, so an order with no customer at all passes it. If every order must have a customer, add not_null as well. Guest checkouts in Solidus have no user_id, which is exactly why Callum's model gives every guest a customer key built from the email address before this test runs.

Monitored

Tests check what you thought of. Monitoring watches for what you did not: a table that stops growing, a column that suddenly fills with NULL, a run that takes three times as long. The goal is simple: you hear about a problem before the person reading the report does.

Example: a quiet Saturday. On a Saturday the shop takes 61 orders, against a usual 55 to 75. Monitoring stays silent, correctly. On the next Saturday the load brings in 4 orders. Nothing has failed technically, every test passes, but the volume check flags it, and Callum finds that the read replica stopped updating at 9.12am. Without monitoring, that would have been a "slow Saturday" in Monday's report.

Personal data comes with the job

Almost every pipeline in an online shop carries personal data: names, email addresses, delivery addresses, order histories. A data engineer copies it into new places, and every copy is covered by data protection law. This is general information, not legal advice.

In Ireland the rules are the EU General Data Protection Regulation (GDPR) and the Data Protection Act 2018.17 Article 5 of the GDPR sets out the principles, among them data minimisation, accuracy and storage limitation, and it makes the business responsible for being able to show that it complies.18 The Data Protection Commission (DPC) explains each principle in plain English.19 For a pipeline, three of them matter every day. Copy only the personal data a report actually needs. Keep it accurate, which is a legal reason to clean data, not only a business one. And keep it only as long as you need it, which means a warehouse needs deletion rules too.

Example: the newsletter export

Callum wants to analyse which newsletter subscribers buy. The newsletter tool's export holds names, email addresses, signup source and consent status for 38,000 people. He does not need names, so he leaves them out of the load. He joins on a normalised email address in the staging layer and keeps the email itself only in a restricted table, so that the marts hold a customer key, not an address. He also carries the consent status through, so that nobody later builds an advertising audience from people who did not agree to marketing. A later chapter covers privacy engineering in pipelines in full.

A map of this series

Here is where the series goes from here, so you can jump to what you need. One chapter appears every Tuesday and Friday until 2 March 2027.

PartChaptersThe question each part answers
The basics2 to 6: the cost of dirty data, where raw data comes from, data types and formats, data modelling, SQL trapsWhat every data engineer must know before cleaning anything
Measuring quality7 and 8: data quality dimensions, data profilingHow dirty is the data, measured, not guessed?
Cleaning raw data9 to 14: when to clean, missing data, duplicates and entity resolution, standardising values, outliers, business rulesEvery cleaning technique, worked on this shop's data
Keeping clean data honest15 to 18: cleaning pipelines and layers, storing clean data, versioning and history, reporting on cleaned dataWhere clean data lives, and how to report on changed data without losing trust
Moving and running data19 to 21: ETL, ELT, batch and streaming, incremental loading and change data capture, orchestrationHow data gets in, reliably, every day
Running a platform22 to 28: testing pipelines, observability, metadata and a semantic layer, privacy engineering, performance and cost, streaming in depth, a reference architectureThe expert topics, ending with the full platform for a growing business

Example: three readers, three routes

Niamh, as an owner, reads chapter 2 on what dirty data costs, chapter 9 on when to clean, chapter 18 on reporting honestly on cleaned data, and the reference architecture at the end. Callum reads everything in order. An experienced data engineer joining a new company might start at chapter 8 on profiling, then go straight to the cleaning block and the chapters on testing and observability.

Conclusion

A data engineer builds the system that turns data from many sources into numbers a business can trust: generated in the shop and its partners, stored, ingested, transformed and served, with security, data management, operations, architecture, orchestration and software engineering running underneath. For most small and medium businesses the challenge is not size. Shannonside Home's five years of orders fit in a quarter of a million rows. The challenge is correctness: one definition per question, raw data kept, every step safe to rerun, tested, documented and monitored.

You need data engineering when reports combine several systems, take days to assemble, disagree with each other, or feed automated decisions. You do not need it yet when one system's reports and a page of written definitions answer your questions. When you do start, start small: a read replica, then a warehouse with dbt, tests and a schedule, and only later an orchestrator or streaming. The next chapter looks at what actually goes wrong, and what it costs, when nobody does this work.

If your reports never agree and you want to know whether a small pipeline would sort it, book the free workshop: we map your data sources together and work out what to build first, and the first two weeks of work are on me.

Sources

  1. 1.

    Maxime Beauchemin, The Rise of the Data Engineer, freeCodeCamp, 20 January 2017, https://www.freecodecamp.org/news/the-rise-of-the-data-engineer-91be18f1e603/

  2. 2.

    Joe Reis and Matt Housley, Fundamentals of Data Engineering, O'Reilly Media, 2022 (ebook ISBN 9781098108298); the five lifecycle stages and six undercurrents as restated by Joe Reis, The Data Engineering Lifecycle and Undercurrents, 4 Years Later, 27 July 2026, https://joereis.substack.com/p/the-data-engineering-lifecycle-and

  3. 3.

    Solidus, core database schema (spree_orders and spree_line_items), solidusio/solidus on GitHub, https://github.com/solidusio/solidus/blob/main/core/db/migrate/20160101010000_solidus_one_four.rb

  4. 4.

    Google Cloud, BigQuery locations, BigQuery documentation, https://cloud.google.com/bigquery/docs/locations

  5. 5.

    Google, [GA4] Set up BigQuery Export, Analytics Help, https://support.google.com/analytics/answer/9358801

  6. 6.

    Google, Reporting overview, Google Ads API documentation, https://developers.google.com/google-ads/api/docs/reporting/overview

  7. 7.

    Stripe, Payout reconciliation report, Stripe documentation, https://docs.stripe.com/reports/payout-reconciliation

  8. 8.

    Y. Shafranovich, Common Format and MIME Type for Comma Separated Values (CSV) Files, RFC 4180, IETF, October 2005, https://www.rfc-editor.org/rfc/rfc4180

  9. 9.

    Google Cloud, BigQuery pricing, accessed 23 November 2026, https://cloud.google.com/bigquery/pricing

  10. 10.

    Anaconda, 2020 State of Data Science: Moving from hype toward maturity, Anaconda, 2020, methodology and time allocation question (n = 1,099), https://know.anaconda.com/rs/387-XNW-688/images/Anaconda-SODS-Report-2020-Final.pdf

  11. 11.

    dbt Labs, What is dbt?, dbt documentation, https://docs.getdbt.com/docs/introduction

  12. 12.

    The Apache Software Foundation, What is Airflow?, Apache Airflow documentation, https://airflow.apache.org/docs/apache-airflow/stable/index.html

  13. 13.

    Dagster Labs, Dagster documentation, https://docs.dagster.io/

  14. 14.

    The PostgreSQL Global Development Group, Hot Standby, PostgreSQL documentation, https://www.postgresql.org/docs/current/hot-standby.html

  15. 15.

    dbt Labs, About data tests property, dbt documentation, https://docs.getdbt.com/reference/resource-properties/data-tests

  16. 16.
  17. 17.

    Government of Ireland, Data Protection Act 2018 (Number 7 of 2018), Irish Statute Book, https://www.irishstatutebook.ie/eli/2018/act/7/enacted/en/html

  18. 18.

    European Union, Regulation (EU) 2016/679 (General Data Protection Regulation), Article 5, Official Journal of the European Union L 119, 4 May 2016, EUR Lex, https://eur-lex.europa.eu/eli/reg/2016/679/oj

  19. 19.

    Data Protection Commission, Principles of Data Protection, DPC, https://www.dataprotection.ie/en/individuals/data-protection-basics/principles-data-protection

Shelter

I’m running the London Marathon for Shelter. Sunday 25 April 2027

My personal fundraiser. Shelter, the National Campaign for Homeless People Limited, registered charity 263710 (England and Wales) and SC002327 (Scotland), registered with the Fundraising Regulator.