Vibe Engines
YouTube

Vibe Engines is free, interactive AI engineering & system design — runs in your browser. Pick a learning path

Handbook · AI-Era Careers

The AI-Era Data Engineer.

AI writes the SQL, drafts the pipeline, and text-to-SQL lets anyone query. So what is the data engineer for? The parts that make data trustworthy — modeling it so the business can evolve, guaranteeing quality and enforcing contracts, controlling the warehouse bill, and tracing lineage when a number is wrong. And a brand-new specialty AI created: building the data pipelines that feed AI itself — RAG ingestion, embeddings, eval sets. This is a career handbook for becoming the data engineer who gets more valuable as SQL gets cheap — what to lean into, the new stack, five ways to work AI-augmented this week, and a 90-day plan.

~16 min readfor data engineers5 workflows90-day plan
A companion to the shipped data and systems content, not career advice. It assumes you already build pipelines; the goal is where to point that skill as the tools change.
01

What gets cheaper, what gets scarce

AI collapses the cost of writing queries and pipeline code and raises the premium on making data trustworthy and owning it end to end. A wrong number is far more expensive than a slow query — and AI produces confident wrong numbers effortlessly. Move your time to the right.

Getting cheap (AI is good at it)Getting scarce (the moat)
SQL, ad-hoc querying (text-to-SQL)Data modeling the business can evolve
Pipeline boilerplate, connectors, glueData quality, contracts, and semantic consistency
A first-draft dbt model or transformWarehouse cost control — the bill nobody else reads
Documentation and column descriptionsLineage and debugging when a number is wrong
Looking up a function or dialect quirkGovernance and the semantic layer AI querying depends on
—Building data pipelines for AI — RAG, embeddings, evals (new)

Text-to-SQL automates the last-mile query — and depends entirely on the trustworthy, well-modeled warehouse underneath, which is what you build. It raises the value of modeling and quality, not lowers it.

02

The new data-engineering stack — where to build the moat

Keep the durable core (modeling, quality, cost, lineage). Then add the specialty AI created and the review skill it now demands.

1 — Own data quality and contracts, because AI amplifies bad data

When an AI writes queries and a model consumes your tables, bad data does not stay contained — it produces confident wrong answers and silently degrades downstream models. The scarce skill is guaranteeing quality: contracts on schema and semantics, tests on freshness and distribution, and the judgment to catch a subtly wrong number a generated query would happily return. Trustworthy data is the product; AI just raised the cost of getting it wrong.

2 — Build data pipelines for AI: RAG, embeddings, evals

This is the high-demand new specialty. AI systems need a data layer with quality requirements analytics pipelines never had: ingestion and chunking that determine retrieval quality, embeddings kept in sync with the source and re-generated when the model or content changes, and versioned, representative eval datasets that gate what ships. Treat the context that feeds a model as a first-class data product with freshness, quality, and cost SLAs. A sloppy AI pipeline silently degrades the model on top of it — owning this well is rare and valuable.

3 — Move up to the semantic layer AI querying depends on

As text-to-SQL and AI analysts query your warehouse, correctness depends on a well-defined semantic layer — consistent metric definitions, documented models, governed access. The data engineer's leverage moves toward owning that layer, because an AI querying an inconsistent, undocumented schema produces confident nonsense. You make AI-driven analytics trustworthy by defining what the numbers mean, once, for everyone (and every model) to use.

03

Five ways to work AI-augmented this week

Each amplifies you without trusting the data blindly. The verify line is where your value lives.

1 · Draft a transform, then verify the numbers

  1. Let it draft; validate against known truth:
Write a dbt model that computes [metric] from [tables], grain [X]. State your assumptions about joins, null handling, and dedup explicitly. Do not silently assume — flag anything about the data you are guessing.
You verify: reconcile the output against a known-correct figure and check the join grain (a fan-out double-counts silently). A generated query that "runs" can be confidently wrong — the correctness is yours.

2 · Generate data-quality tests you actually need

  1. Have it enumerate checks; you decide which matter:
For this table [schema + meaning], propose data-quality tests: uniqueness, not-null, referential integrity, freshness, and distribution/anomaly checks that would catch a real upstream break. Explain what each protects against. Do not propose tests that just restate the schema.
You verify: that the tests guard the failures you have actually seen, and add the domain checks it cannot know. The quality bar is your judgment; it speeds the boilerplate.

3 · Design a RAG ingestion pipeline

  1. Treat chunking and freshness as product decisions:
Design an ingestion pipeline for RAG over [source docs]: a chunking strategy suited to the structure, the metadata to attach for filtering and citation, an embedding + re-embedding plan when content or the model changes, and a freshness SLA. Call out where chunking choices will affect retrieval quality.
You verify: test retrieval quality on real queries — chunking that looks reasonable can wreck recall. This pipeline is part of the product's accuracy, and the design is yours.

4 · Assemble and version an eval dataset

  1. Build the set that gates what ships:
Help me assemble an eval dataset for [AI feature]: the case types to cover (typical, edge, adversarial, known-failure), how to sample representatively from real data, and a versioning scheme so results are comparable over time. Flag where the sample would be biased toward easy cases.
You verify: that the set represents real usage, not easy cases, and is versioned — an eval over a soft dataset greenlights a bad model. Representativeness is your call.

5 · Chase a wrong number through lineage

  1. Give the symptom; ask for ranked upstream causes:
A metric [X] looks wrong: [symptom]. Here is the model and its upstream dependencies [paste/lineage]. Give ranked hypotheses for where it broke (a join, a filter, a late-arriving source, a definition change), each with the specific thing to inspect to confirm. Do not guess a fix.
You verify: trace the evidence upstream yourself — the model will assert a plausible cause. Understanding the lineage and the fix is yours; it is a faster first read.
04

The judgment exercise: spot the danger

Three cases where AI-generated data work looks right. The skill being tested is the one that pays now.

1. Text-to-SQL answers "what was revenue last month?" with a clean number the exec loves. Trust it?

2. The AI writes a join that produces the right row count in your test sample and ships to a big table. Approve?

3. You add AI-generated documents to your RAG index with the default chunk size. Retrieval seems fine on two queries. Done?

05

Your role in three years — and a 90-day plan

In three years the title still says data engineer, but the work shifts: less hand-writing SQL, more owning the model, the quality, the semantic layer, and the data pipelines that feed AI. A concrete start:

WeeksDo thisWhy
1–3Let AI draft transforms; reconcile every output against known truth and verify join grainBuilds the "generated ≠ correct" verification habit
4–6Add real data-quality tests and one data contract to a pipeline you ownMakes trustworthy data — your moat — explicit and enforced
7–9Build one AI data pipeline end to end: RAG ingestion or an eval dataset, with a quality checkThe high-demand new specialty almost no one has practiced
10–12Define one metric in a semantic layer so AI/text-to-SQL queries it correctlyMoves you up to the layer AI-driven analytics depends on

The through-line: let AI write the queries fast, and get deeper in modeling, quality, and the AI data layer it cannot own. Do both and the tools make you more valuable.

The picture

The picture: a RAG ingestion pipeline

Sourcesdocs, tickets Parseclean, dedup Chunk+ metadata Embedmodel v1 Vector indexid, hash, vector Retrievetop-k chunks LLM answercites chunks eval set: recall content changes: re-embed changed chunks model changes: re-embed everything ingest once, keep in sync, measure what comes back
Every box above the index decides what retrieval can ever find. A chunk that splits an answer in half cannot be retrieved whole, however good the model is. The content hash stored next to each vector is what lets a re-run re-embed only the chunks that changed. A new embedding model is different: its vectors cannot be compared with the old ones, so the whole corpus is re-embedded into a new index, and queries switch over once the eval set says recall held.
By the numbers

Worked example: a join that inflates revenue by 83%

Exercise 2’s fan-out, with real rows. Three orders total $600. A generated query joins orders to order_items to filter by product category, then sums orders.total. The rows are illustrative; the arithmetic is exact.

Orderorders.totalItems (rows after join)Contributes to SUM after join
#1$1002$100 × 2 = $200
#2$2003$200 × 3 = $600
#3$3001$300 × 1 = $300
Total$6006 rows$1,100, which is 83% too high

The join changed the grain from one row per order to one row per item, so each order total was counted once per item. The query ran, returned a clean-looking number, and nothing failed. A test sample where every order had one item would show $600 and pass. Two fixes: aggregate items up to order grain (or use EXISTS for the category filter) before joining, or sum order_items.price instead, which belongs to the item grain. Reconciling against a known total, recipe 1, is what catches it. A cheap standing guard: a test that the row count after the join equals the count of distinct order ids, whenever the model is meant to be one row per order.

Trade-offs

Trade-offs in the AI data layer: compute, storage and freshness

Read the columns as: Time = embedding compute or freshness; Space = storage; Why = what you give up. Storage figures assume an illustrative 1 million chunks from a 1,536-dimension model.

CaseTimeSpaceWhy
Small chunksMore embedding callsMore vectorsPrecise matches, but a chunk can lose the context that makes it make sense.
Large chunksFewer callsFewer vectorsMore context per hit, but relevance is diluted and every retrieved chunk costs more prompt tokens.
Incremental re-embed (hash per chunk)Only changed chunksA hash column per chunkCheap and fresh, until the chunking code changes: then every hash changes and it is a full re-run anyway.
Full re-embed for a new modelThe whole corpus2 × 6.1 GB = 12.3 GB during cutoverUnavoidable: vectors from two models are not comparable, so old and new indexes must not be mixed.
float32 vectors—1M × 1,536 × 4 B = 6.1 GBFull precision.
int8 quantised vectors—1M × 1,536 × 1 B = 1.5 GBA quarter of the storage, usually for a small recall loss. Measure it on your eval set.
Nightly batch vs streaming updatesA day stale vs minutesSimilarStreaming needs delete handling and more moving parts. Pick from the freshness the product actually needs.

Each of these is a data-engineering decision with a measurable effect on answer quality. That is why the eval set sits in the diagram: without it, every change on this list is a guess.

In the wild

Where this shows up in production and interviews

  • Contracts at the producer boundary

    A data contract states a table’s schema, meaning and freshness, and it is checked in the producer’s CI. A renamed column then fails their build, instead of silently breaking your dashboards and the model reading your tables.

  • Deletes must reach the index

    When a source document is deleted or a user asks to be erased, its chunks must leave the vector index too. Otherwise the assistant keeps quoting it. Capture deletes, not just inserts and updates, and test that a deleted document stops being retrieved.

  • A semantic layer for AI analysts

    Defining “revenue” once, in a metrics layer that both dashboards and text-to-SQL use, removes exercise 1’s ambiguity at the source. The model then picks a defined metric instead of writing its own SQL for it.

  • The interview version

    Two common prompts: “design ingestion for RAG over our docs” and “this dashboard number is wrong, find out why”. For the first, cover chunking, metadata, re-embedding and deletes, and how you would measure recall. For the second, walk the lineage upstream and check join grain first.

Frequently asked

Quick answers

Will AI replace data engineers?

No — it automates SQL and pipeline glue and raises the premium on data modeling, quality, cost, lineage, and the new specialty of building data pipelines for AI. Those get more valuable as AI produces confident wrong numbers effortlessly.

Does text-to-SQL make the job obsolete?

No — it automates last-mile querying and depends on the trustworthy, well-modeled warehouse and semantic layer you build. It raises the value of modeling, quality, and governance.

What's the best new specialty to learn?

Building data pipelines for AI — RAG ingestion and chunking, embeddings, and eval datasets — treated as first-class data products with quality and freshness SLAs. It is one of the most in-demand data roles right now.

Where should a skeptical data engineer start?

Recipe 1 — let AI draft a transform and reconcile the output against a known-correct number, checking the join grain. Immediately useful, and it builds the habit of never trusting generated data blind.

Finished this one? 0 / 209 Handbooks done
NextThe AI-Era DevOps Engineer Next on the “Your engineering role in the AI era” ladder · rung 5 of 10

This idea in other formats

Explore the topic

See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.