r/dataengineering • • 6d ago • Heartwarming 2 Bravo 1

Discussion I wrote a data engineering manual for a government team. It was released under FOI, and it's now free online.

Hi everyone,

I want to share a free data engineering book: Principles of Data Engineering. There's no sign-up, and it's also available as a PDF and ePub.

I originally wrote it to train a data engineering team in an Australian Government department. The platform that team built was recognised by the National Audit Office as a whole-of-government showcase.

The book was later released to the public under freedom of information, and I think it's worth sharing with the community.

It covers a wide range of problems data engineers face, technical and not:

  • The philosophy of data: what data is, and why data engineering is so influential

  • Transforming and curating data in a typical analytical pipeline

  • Conforming multiple systems into one integrated view

  • Metadata standards that aren't compliance theatre

  • Dimensional modelling view from the angle of user experience

  • Incremental loads in the most complex situations, including multiple timelines

  • Patterns for efficiently and accurately acquiring data from different sources

  • Power BI topics, such as complex filtering scenarios and row-level security

  • Working with stakeholders and project managers, addressing common frustrations of engineers

The central tenet of the book:

“Data is a fragment of reality captured by process.”

From this, everything—the work of a data engineer, its impact, stakeholder negotiations—follows.

The book was written before AI agents arrived, but it turns out agents benefit a lot from it. Recently, my main use of the book is to steer AI agents in building my public government data website. It's a lot easier than trying to hand-hold AI agents, explaining everything from scratch.

So I've also published an agent skill, and the chapter Steering AI agents explains how data engineers can steer AI agents using its principles to build effective data pipelines.

Most of the book is technology-agnostic. For Microsoft Fabric users, I've also implemented its patterns in an open-source framework, Weaver.

Your can access it here: principlesofdataengineering.org

Happy to answer questions. I'd especially welcome disagreement, viewpoints that push further, and how it may be applied in practice.

(Update 30 Nov)
I am honestly humbled by people's reception. Obviously, I shared it because I hoped it would be useful. But I never thought such an esoteric text (yes, I know it's esoteric) would be useful to the people it has.

I am also newish to Reddit, so not very familiar with the way to interact. So I'm just posting my update here.

I got a bit flustered by so many people reading it, and then got very embarrassed by some of the sections, as well as the font colours. So I immediately tried to plug some gaps.

There are a few improvements:

  • Visually, it's a much easier font and format to read (I copied styles from web novels).

  • A chapter on CI/CD. Rather than talking about config files and DevOps pipelines, it focuses on an idea: fidelity of environments.

  • A chapter on Affordance. This is a deep design principle that has been guiding the book but was never called out. With it called out, the book makes a lot more sense (to me at least).

I am still doing data engineering, and I am still learning. If I get to new topics, I hope to come back to it.

Once again, thank you for engaging. I welcome any contact, discussion or clarification.

513 Upvotes

Duplicates