Explore
Module 1 · Part 1 of 12 · Free preview

Part 1

Chapter 1: The 2:47 AM Awakening...--–- The alert arrived at 2:47 AM on a Tuesday. Maya’s phone, set to vibrate only for PagerDuty, danced across her nightstand. She was eight months into her first data engineering role, and she had already learned to recognize the unique dread of a nighttime page. The message was terse: “Pipeline revenue_aggregation_daily failed. SLA breach in 15 minutes.” She stumbled to her laptop, logged into Airflow, and saw the red block. A task called validate_schema had failed. The error message was a single line: “KeyError: ‘customer_id’.”For the next four hours, Maya traced the failure upstream. The source API, operated by a third-party payment processor, had silently renamed a field.

What had been customer_id for three years was now user_id. No announcement. No version bump in the API. No deprecation warning. Just a change that rippled through Maya’s transformation logic, through her joins, through her aggregations, and finally into the revenue dashboard that the CFO reviewed at 8:00 AM sharp.By the time Maya stabilized the pipeline with a hotfix, the damage was done. The dashboard had displayed zeros for the previous day’s revenue for two hours. The sales team, believing the company had generated no revenue, paused their outbound campaigns. The CFO, seeing the zeros, called an emergency meeting. The CTO, when asked who was responsible for preventing this, looked at Maya.

She had no good answer.This story is not hypothetical. Versions of it play out every week in companies of every size. The details change—the field name, the orchestrator, the executive title—but the pattern is universal. Data pipelines break in production, and they break in ways that no amount of local testing can predict.The question at the heart of this book is simple: What does it take to build data systems that do not break at 2:47 AM?The answer is not a tool. It is not a cloud service. It is not a programming language. The answer is a discipline called Data Software Engineering, and this chapter is where you begin to learn it.What This Book Is (And Is Not)Before we go any further, let me be explicit about what you are holding.This is not a SQL reference.

Keep reading — free

Sign in with your SamEnrico account to read the whole of lesson 1.

Sign in