Data Strategy NZ

Stage 7: Build the foundation · Phase 35 of 50

Phase 35. Build pipelines, mappings and transformations

Move the increment's data from source into the platform on schedule, mapped and transformed by business rules the business has agreed, and monitored.

Importance
OptionalWhat the ratings mean
Effort
LargeThe effort scale
Horizon
Deliver7. Build the foundation
Repeats for each increment
Do this phase again for each increment you deliver.

What this phase is for

Pipelines decide whether the numbers on a dashboard match what the business believes. A field called "price" in one system can mean list price, net price or price before rebate in another, and a careless mapping turns a trusted report into an argument. This phase exists so that data moves on time and keeps its meaning on the way.

Its optional rating reflects that it only comes into play once gate 5 picked a minimum viable stack or fresh platform; with no new platform it does not apply. When it applies it is Large effort and repeats for each increment, covering only that increment's sources. It can only start once the platform foundation from phase 34 exists, and it draws heavily on the critical data elements from phase 15 and the conceptual model from phase 19, which tell you which fields matter and how the main entities relate.

Decisions and outputs

Each pipeline gets a short record: its name, source and target, the field mappings with a link to the data dictionary, how extraction, loading and transformation work, whether loads are full or incremental, the schedule, the business rules in plain words, the data contract with the source owner, error handling and alerts, any legacy migration, and where the run history lives.

The decisions settled here are which rules are owned by the business rather than by the engineer, how often each source refreshes, and how source owners will warn you before an upgrade changes their data. Those choices determine whether later reports can be trusted without reworking each one.

Who usually owns it

About 150 staffAbout 400 staffAbout 1,000 staff
Implementation partner, with data stewardsData engineer, with data stewards and system ownersData engineers, with stewards and system owners

How to do it

  1. List the increment's sources and critical fields. Take the use case scope and the critical data elements and list which tables and fields each one needs. Leave out sources nobody in this increment will use.
  2. Map meaning, then names. For every source field, write what it means in business terms and link it to a dictionary entry. Ask the steward who uses that field daily to check the mapping before any code is written.
  3. Write the rules as sentences first. Express each transformation as a plain sentence the business can read, for example how a rebate is netted off. Get the owner to agree it, then build it once in the pipeline and keep it under version control.
  4. Agree a contract with each source owner. Write down the fields delivered, the refresh frequency, and the warning you will get before upgrades or field changes. A short page signed by the system owner is enough.
  5. Choose the load pattern. Use incremental loads where volumes are large or sources are busy, and full loads where data is small or changes unpredictably. Run heavy extracts at quiet times.
  6. Make failures loud. Alert on failed runs and on volumes that fall outside the expected range. Log each failure, retry automatically where safe, and escalate to a named person if it keeps failing.
  7. Reconcile before retiring anything old. Where a spreadsheet or legacy store is being replaced, cleanse first, keep a rollback plan, and compare the new output with the old totals before anyone switches over.

Your workspace for this phase

Tick each point as you finish it. Add a note, an owner and a due date where it helps. Saved on this device as you type.

0 of 10 points done

  1. Note, owner, due date
  2. Note, owner, due date
  3. Note, owner, due date
  4. Note, owner, due date
  5. Note, owner, due date
  6. Note, owner, due date
  7. Note, owner, due date
  8. Note, owner, due date
  9. Note, owner, due date
  10. Note, owner, due date

Template: what this phase produces

Download this template as a Word document

Fill in each output. It is saved on this device and compiled into your data strategy pack.

The checklist points explained

Points 1, 2, 9 and 10 are the four template points found in every phase. The six below belong to phase 35.

3. Sources mapped with meaning
Name matches are where silent errors start. Done means every mapped field has a dictionary entry describing what it means, and a steward who knows the data has reviewed the mapping and confirmed the business sense survives.
4. Business rules agreed
Rules repeated in each report drift apart and nobody knows which is right. Done means each rule is written plainly, agreed by its business owner, built in one place in the pipeline and tracked through version control.
5. Data contracts agreed
Source systems change: upgrades rename fields, vendors alter exports. Done means each system owner has signed a short agreement on what is supplied, how often, and how much notice you get of changes.
6. Loads designed and scheduled
The wrong load pattern either slows the source system or leaves data stale. Done means each data set has a deliberate choice of full or incremental loading and a schedule that meets the requirement without hurting source performance.
7. Monitored and errors handled
Pipelines that fail quietly produce dashboards that look fine and are wrong. Done means failed runs and odd volumes alert a named person, and failures are logged, retried where safe and escalated if they persist.
8. Legacy migration controlled
Moving dirty data into a new home only relocates the problem. Done means old records are cleaned up first, there is a way back if the move fails, and the migrated totals agree with the original before the old copy is switched off.

Where it goes wrong

  • Mapping fields by name without checking meaning. Treat every mapping as unconfirmed until a steward has read it. Short review sessions, with sample records on screen, catch most mismatches. If one slips through, fix the mapping and recheck every report fed by that field.
  • Rules hidden in many reports instead of built once. When a report needs a calculation, ask whether it belongs in the pipeline instead. Move shared logic upstream, retire the copies in individual reports, and record the rule where everyone can read it.
  • No process for source system upgrades, so pipelines break silently. Put the notification promise in the data contract and add a volume or schema check to each pipeline, so an upgrade that changes the shape of the data trips an alert rather than a wrong board paper.

How it feeds the foundation gate

The foundation gate asks whether the increment's critical data meets the accuracy and completeness thresholds its owners set. Pipelines are where that is won or lost, so the forum will look for agreed business rules, data contracts and a reconciliation showing the new figures match trusted sources. Run history and alert records help with the cost forecast too, because failing and rerunning jobs consume compute. This phase also feeds phase 37 testing and the catalogue lineage in phase 38, which rely on the mappings being written down here.

Gate 7 criteria · Foundation gate paper (Word)

Worked example: Rimu Ridge Supplies

For increment 1, Rimu Ridge needed sales lines, price agreements, product costs and customer accounts. The partner built 11 nightly incremental pipelines drawing on the ERP, the CRM and the warehouse system, timed to run outside branch trading hours so counter staff saw no slowdown.

The hardest part was margin. Several finance workbooks calculated it differently, some before rebates and some after. Because the glossary in stage 3 had already settled that margin means after rebates, the rule was written as a plain sentence, agreed by the financial controller and built into the pipeline once. Every branch report now inherits the same answer. The ERP owner signed a short data contract covering what is supplied and how upgrades will be announced, which mattered because an ERP change was already planned. Before the old margin spreadsheets were retired, the team ran both side by side and confirmed the new totals sat within 0.2% of the spreadsheet figures, giving the financial controller enough confidence to switch.

Rimu Ridge through all of stage 7 · Blank phase 35 template (Word)

Framework mapping

DAMA-DMBOK2: Data Integration and Interoperability; Data Modeling and Design; Metadata.
DCAM: Data and Technology Architecture; Data Quality Management. About the mapping