Sari la conținut
aiqbenchInformații despre AI & calcul cuantic
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre
...Se încarcă sesiunea
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre

Română · beta. Traducerea a fost făcută automat și este încă în curs de revizuire. Citește pagina în engleză

  1. Joburile viitorului
  2. ›
  3. Data & Intelligence Engineer
  4. ›
  5. Lecția 3 din 8

Lecțiile acestui traseu sunt publicate deocamdată doar în engleză, așa că lecția de mai jos apare în engleză. Restul — module, quiz și materiale — funcționează la fel.

Data Modelling & Transformation

Intermediar¶ Citire · 3 min⚑ Misiune · 30 min◆ Test · 5 întrebări✓ Verificată la 30 nov. 2026

Vei putea să:

You can design a layered warehouse model (raw → staging → mart) and explain when a star schema beats a wide table, and why dbt-style version-controlled transformations replaced hand-written stored procedures.

Two analysts present revenue for the same quarter in the same meeting. One says 4.2 million, the other says 3.9 million. Both wrote correct SQL. Both are defensible. The next forty minutes are spent reconciling numbers instead of making the decision the meeting was called for. This is not an arithmetic problem — it is a modelling problem, and it is solved before anyone opens a query editor.

The three layers

A well-structured warehouse separates data into layers with distinct jobs. Raw is an untouched, append-only copy of what the source sent. Staging is cleaned and typed, mapping roughly one-to-one with source tables — renamed columns, parsed dates, consistent casing. Marts are business concepts: joined, aggregated, and named the way the business speaks.

The reason to keep raw data, which teams under-appreciate until it bites them, is replayability. When you discover that a transformation has been subtly wrong for four months, having raw means you rebuild the last four months correctly. Teams that transform on ingestion and discard the original can only fix things going forward. "We can correct it from today" is the sentence that reveals a missing raw layer.

Star schema or wide table

A star schema separates facts (events with measures) from dimensions (descriptive attributes), joined on keys. A wide table flattens everything into one denormalized result.

Columnar storage weakened the classic argument for normalization — scanning is cheap and storage is cheaper, so the old cost of a wide table largely evaporated. But star schemas still win decisively in one situation: when dimensions change independently of facts and multiple fact tables must agree on the same dimension. A single conformed customer dimension means orders, support tickets, and sessions all describe customers identically. Denormalize that attribute into three wide tables and they will drift.

Why dbt-style transformation replaced stored procedures

The SQL did not change. The engineering discipline around it did. A stored procedure has no meaningful diff, no test suite, no staging environment, and no lineage graph — a change goes straight to production and its blast radius is unknowable. Version-controlled transformation brings code review, automated tests, environment separation, and a dependency graph you can inspect. The improvement is entirely in the process, not the language.

Failure modes

Metric drift — the same metric is defined independently in several dashboards and slowly diverges as each is patched. Signal: recurring reconciliation meetings, and a shared belief that one particular dashboard is "the accurate one."

Lost history — raw was discarded to save storage; a transformation bug is found months later. Signal: an incident review whose remediation is "corrected going forward" because rebuilding is impossible.

Dimension update anomaly — a customer's country is denormalized into historical fact rows. The customer relocates, the attribute is overwritten, and last quarter's regional split silently changes. Signal: a previously published breakdown that no longer reproduces.

Fan-out join — a fact table is joined to a one-to-many table without aggregating first, multiplying every measure. Signal: revenue jumping by a suspiciously clean factor, often close to the average number of line items per order.

Explaining this to stakeholders

On the layers: raw is the delivery of unopened ingredients, staging is the prepped and measured mise en place, and the mart is the plated dish. You keep the ingredients because if the sauce is wrong you want to cook it again, not scrape the plate.

On stored procedures versus modern transformation: one is editing the live website over FTP, the other is deploying from version control. The code might be identical; the ability to review it, test it, and undo it is not.

Materiale selectate

1.2h

Munca de profunzime se întâmplă aici — lecția este briefingul tău.

  • dbt: How We Structure Our dbt ProjectsDocumentație· 30 min
  • The Kimball Group: Dimensional Modeling TechniquesDocumentație· 25 min
  • One Big Table vs Star Schema (Fivetran)Tutorial· 15 min

În direct pe aiqbench

Subiectul acestei lecții în restul site-ului, astăzi.

În știri, ultimele 30 de zile

  • RoboIntervene: A Dataset for Learning When to Step In and How to Recover Robot Policy ExecutionarXiv · 4 dec.
  • HuGEM: A Humanoid Manipulation Dataset with Paired Goal- and Execution-Level InstructionsarXiv · 4 dec.
  • Human-Agent Forensics and Recovery of an Extreme-Scale Climate DatasetarXiv · 4 dec.
Mai multe știri pe acest subiect →

Mergi mai departe

  • Fișele benchmarkurilorCe măsoară fiecare benchmark și unde nu ajunge.
  • Întreabă AI despre această lecțieDeschide Întreabă AI cu o întrebare despre această lecție, cu răspuns din arhiva de știri, cu surse.
  • Skill-uri de agent pentru această muncăSkill-uri gata făcute pentru agenți AI de programare, verificate și evaluate.

Testează-ți cunoștințele

5 întrebări în 100 de secunde, pe o pagină separată. Citește mai întâi tot ce este mai sus.

Testează-ți cunoștințele →

Misiunea modulului

25–35 min

For an e-commerce dataset with orders, customers, and products, sketch a staging layer and a mart layer. Name one metric that would be ambiguous without an explicit definition and write that definition.

Se încarcă lucrarea ta…

← Lecția anterioară2. Ingestion — Batch, Streaming & CDCLecția următoare →4. Data Quality, Testing & Contracts
aiqbench
Informații despre AI & calcul cuantic© aiqbench. Toate drepturile rezervate.

Fluxuri:RSS·JSON Feed

LimbăEnglish·Românăbeta
ȘtiriAI & tehnologieCuanticAnalize
ExploreazăBenchmark-uriÎnvață
CompanieDespreÎncredereInformații legaleTermeni și condițiiPolitica de confidențialitateNotificări privind drepturile de autorȘtergerea datelorRaportează conținut

Perspectiva aiqbench, analizele, rezumatul zilnic și răspunsurile din Întreabă sunt scrise de modele AI din sursele afișate, fără revizuire editorială înainte de publicare. Pot conține erori — verifică sursa. Cum este folosit modelul →

  • Știri
  • Analize
  • Întreabă
  • Topuri
  • Cont