Glossary: Data Engineering
Every term Data Engineering defines, from A to Z, with the section that teaches it. A section that uses a term from elsewhere, in this book or another, also lists it under “Concepts from other sections” at the top of the page.
92 terms
- Allowlist: the policy table mapping SPDX license ids to the uses they permit. Taught in 5.8 Licensing ledger verification and the datasheet
- Asset-centric orchestration: modeling the data assets that should exist rather than the tasks to run. Taught in Chapter 4: Orchestration and Modeling
- Atomic swap: writing into
out.tmpand renaming it into place so no half output ever looks whole. Taught in 5.6 Parquet shards, the manifest, and the document-hash split - Audit span: a record of kind and start and end offsets into the original text, never the matched text. Taught in 5.5 PII scrub with typed placeholders and audit spans
- B-tree: a read- and update-optimized engine that keeps a balanced tree of disk pages updated in place. Taught in Chapter 2: Storage and Warehousing
- Backfill: re-running a pipeline for past dates, safe only when tasks are idempotent. Taught in Chapter 4: Orchestration and Modeling
- Bloom filter: a bit array with hash functions that has no false negatives and a tunable false-positive rate. Taught in 5.3 Exact dedup: paragraph hashes, a Bloom screen, and a sort-merge confirm
- Bytes per token (): total UTF-8 bytes of the val texts over their tokens; converts loss per token into bits per byte. Taught in 5.7 Tokenize and pack to llm.c .bin
- Candidate: a digest the Bloom filter reported as maybe seen; a superset of the true repeats. Taught in 5.3 Exact dedup: paragraph hashes, a Bloom screen, and a sort-merge confirm
- Canonical config: the config decoded and re-encoded with sorted keys and no whitespace. Taught in 5.9 CorpusBuild: the pipeline as a durable workflow
- CDC (change data capture): capturing a database’s changes as a stream for low-impact ingestion from OLTP systems. Taught in Chapter 1: Foundations
- Checkpoint: a persisted snapshot of processing state and input position used for recovery. Taught in Chapter 3: Batch and Streaming Processing
- Columnar format: a file layout such as Parquet or ORC that stores each column contiguously for pruning and compression. Taught in Chapter 1: Foundations
- Compensation: the
corpus.cleanupactivity the saga runs on cancel or failure to delete this build’s partial outputs. Taught in 5.9 CorpusBuild: the pipeline as a durable workflow - Conservation: per split, the files hold exactly the split’s documents’ tokens plus one separator each. Taught in 5.7 Tokenize and pack to llm.c .bin
- Content-hashed workflow id:
corpus/<dataset>/<version>/plus the first 12 hex digits of the canonical config’s sha256. Taught in 5.9 CorpusBuild: the pipeline as a durable workflow
- DAG: a directed acyclic graph of tasks whose edges are dependencies; the scheduler runs tasks in topological order. Taught in Chapter 4: Orchestration and Modeling
- Data contract: an explicit schema and SLA agreement between a data producer and its consumers. Taught in Chapter 4: Orchestration and Modeling
- Data engineering lifecycle: the five stages data passes through (generation, ingestion, storage, transformation, serving), with security, governance, DataOps, architecture, orchestration, and software engineering as undercurrents. Taught in Chapter 1: Foundations
- Data observability: monitoring freshness, volume, schema, distribution, and lineage of data. Taught in Chapter 4: Orchestration and Modeling
- Data skew: uneven distribution of records over partitions caused by hot keys. Taught in Chapter 3: Batch and Streaming Processing
- Datasheet: the generated document answering Gebru et al.’s questions from the corpus files. Taught in 5.8 Licensing ledger verification and the datasheet
- Decontamination: dropping training documents that share a word 13-gram with protected eval or validation text. Taught in 5.4 Near-duplicate dedup: MinHash, LSH, union-find, and decontamination
- Detector: a permissive candidate regex plus a validator that rejects lookalikes. Taught in 5.5 PII scrub with typed placeholders and audit spans
- Document separator: the end-of-text id written before each document. Taught in 5.7 Tokenize and pack to llm.c .bin
- Document-hash split: assigning val when the first 8 bytes of the text’s SHA-256, big-endian, mod 1000 are below
val_permille. Taught in 5.6 Parquet shards, the manifest, and the document-hash split - Duplicated n-gram character fraction: the share of a text’s characters inside any occurrence of a repeated n-gram. Taught in 5.2 Extract, normalize, and quality filters
- Dynamic partition overwrite: a write mode that replaces only the partitions being written, making per-date reruns idempotent. Taught in Chapter 3: Batch and Streaming Processing
- ELT: extract, load raw data, then transform it in the warehouse; the modern default with decoupled storage and compute. Taught in Chapter 1: Foundations
- Event time / processing time: when an event occurred versus when the system processed it. Taught in Chapter 3: Batch and Streaming Processing
- Exactly-once: the guarantee that each record affects state exactly once. Taught in Chapter 3: Batch and Streaming Processing
- Exponential backoff: retrying with a delay that grows each attempt. Taught in Chapter 4: Orchestration and Modeling
- Gopher rules: seven cheap document statistics with published thresholds for filtering web text. Taught in 5.2 Extract, normalize, and quality filters
- Grain: the level of detail a single fact row represents. Taught in Chapter 2: Storage and Warehousing
- Hidden partitioning: Iceberg’s partition transforms applied automatically to filters on the source column. Taught in Chapter 2: Storage and Warehousing
- Idempotence: the property that normalizing twice changes nothing. Taught in 5.2 Extract, normalize, and quality filters
- Idempotency: the property that re-running a step does not change its result, which makes pipelines recoverable. Taught in Chapter 1: Foundations
- Idempotency key:
<workflow id>/<stage>, stable across attempts and distinct across configs. Taught in 5.9 CorpusBuild: the pipeline as a durable workflow
- Jaccard similarity: the size of two sets’ intersection divided by the size of their union. Taught in 5.4 Near-duplicate dedup: MinHash, LSH, union-find, and decontamination
- Lakehouse: raw files on object storage plus an open table format, giving ACID guarantees on cheap storage. Taught in Chapter 2: Storage and Warehousing
- Latest row: the last ledger row for a source, which wins over earlier ones. Taught in 5.8 Licensing ledger verification and the datasheet
- Lazy evaluation: building a plan from transformations and executing it only when an action runs. Taught in Chapter 3: Batch and Streaming Processing
- Ledger row: one JSON record per fetched source with its URL, license, digest, time, and document count. Taught in 5.1 Async fetch with resume, checksums, and license capture
- llm.c
.binfile: a 1024-byte header of 256 little-endianint32values followed by raw little-endian token ids. Taught in 5.7 Tokenize and pack to llm.c .bin - Log compaction: retaining only the latest value per key in a Kafka topic. Taught in Chapter 3: Batch and Streaming Processing
- LSH banding: splitting signatures into bands of rows so only documents sharing a whole band are compared. Taught in 5.4 Near-duplicate dedup: MinHash, LSH, union-find, and decontamination
- LSM-tree: a write-optimized engine that buffers writes in memory, flushes sorted segments, and compacts them in the background. Taught in Chapter 2: Storage and Warehousing
- Luhn check: a mod-10 checksum over a card number’s digits, doubling every second digit from the right. Taught in 5.5 PII scrub with typed placeholders and audit spans
- Manifest:
_MANIFEST.json, listing each shard’s hash and row count plus every stage’s counts; the output’s identity. Taught in 5.6 Parquet shards, the manifest, and the document-hash split - Materialization: how dbt persists a model: view, table, incremental, or ephemeral. Taught in Chapter 4: Orchestration and Modeling
- MinHash signature: the minima of hash functions over a document’s shingles; equal entries estimate Jaccard. Taught in 5.4 Near-duplicate dedup: MinHash, LSH, union-find, and decontamination
- Narrow / wide transformation: a transformation that needs no shuffle (map, filter) versus one that does (groupBy, join); wide transformations define stage boundaries. Taught in Chapter 3: Batch and Streaming Processing
- NFC: Unicode canonical composition; equal text gets equal bytes without rewriting compatibility characters. Taught in 5.2 Extract, normalize, and quality filters
- Offset: a consumer’s position in a Kafka partition. Taught in Chapter 3: Batch and Streaming Processing
- OLAP: analytical systems with few large column-oriented scans and aggregates. Taught in Chapter 1: Foundations
- OLTP: transactional systems with many small row-oriented reads and writes at millisecond latency. Taught in Chapter 1: Foundations
- On-disk boundary: a point in the pipeline where a stage’s output is durable files, the only place worth cutting an activity. Taught in 5.9 CorpusBuild: the pipeline as a durable workflow
- Open table format: a metadata layer (Iceberg, Delta Lake, Hudi) that tracks which files make up each table version. Taught in Chapter 2: Storage and Warehousing
- Paragraph: a stripped, non-empty piece of text between blank lines. Taught in 5.3 Exact dedup: paragraph hashes, a Bloom screen, and a sort-merge confirm
- Part file:
<name>.part, a download in progress whose size is the resume offset. Taught in 5.1 Async fetch with resume, checksums, and license capture - Partition pruning: skipping partitions that a query’s filter rules out. Taught in Chapter 2: Storage and Warehousing
- PII policy: the per-source rule from the ledger:
scrub,drop, ornone. Taught in 5.5 PII scrub with typed placeholders and audit spans - Pinned checksum: the sha256 recorded in the config after review; the only digest fetch trusts. Taught in 5.1 Async fetch with resume, checksums, and license capture
- Quarantine: the directory where a complete download with the wrong digest is moved for a human, never reaching
raw/or the ledger. Taught in 5.1 Async fetch with resume, checksums, and license capture
- Range request: an HTTP request with
Range: bytes=s-asking for the bytes from offset to the end of a file. Taught in 5.1 Async fetch with resume, checksums, and license capture - Reconcile: appending corrected
kept,dropped, andfilters_appliedvalues computed from the shards. Taught in 5.8 Licensing ledger verification and the datasheet ref(): dbt’s function for referencing another model, from which dbt infers the dependency graph. Taught in Chapter 4: Orchestration and Modeling- Repeat: an occurrence of a paragraph whose digest occurred earlier in the input. Taught in 5.3 Exact dedup: paragraph hashes, a Bloom screen, and a sort-merge confirm
- Retryable error: a failure that a later attempt can fix (5xx, 429, cut, timeout); mapped to exit 75. Taught in 5.1 Async fetch with resume, checksums, and license capture
- Rollover: starting a new file before a document that would push the current one past
max_file_tokens. Taught in 5.7 Tokenize and pack to llm.c .bin - Row group: a block of rows in a Parquet file that a reader loads together. Taught in 5.6 Parquet shards, the manifest, and the document-hash split
- Schema-on-write / schema-on-read: enforcing structure at load time versus interpreting raw data at query time. Taught in Chapter 1: Foundations
- Semantic layer: a single definition of each metric shared by all consumers. Taught in Chapter 4: Orchestration and Modeling
- Shard: one Parquet file of at most
shard_rowssorted rows, namedshard-{i:05d}-of-{n:05d}.parquet. Taught in 5.6 Parquet shards, the manifest, and the document-hash split - Shingle: consecutive lower-cased words joined by one space. Taught in 5.4 Near-duplicate dedup: MinHash, LSH, union-find, and decontamination
- Shuffle: redistributing records across the cluster by key, required by joins and group-bys and the most expensive distributed operation. Taught in Chapter 3: Batch and Streaming Processing
- Slowly changing dimension (SCD): a policy for recording changes to dimension attributes (Type 1 overwrite, Type 2 new row with validity dates, Type 3 previous-value column). Taught in Chapter 2: Storage and Warehousing
- Sort-merge confirm: sorting candidate occurrences so equal digests form runs, keeping the first of each run. Taught in 5.3 Exact dedup: paragraph hashes, a Bloom screen, and a sort-merge confirm
- SPDX expression: a combined license where
ORmeans choice (union of uses) andANDmeans both apply (intersection). Taught in 5.8 Licensing ledger verification and the datasheet - Spool: an on-disk copy of the input that lets a one-shot iterator be read several times. Taught in 5.3 Exact dedup: paragraph hashes, a Bloom screen, and a sort-merge confirm
- Stage: a function from an iterator of documents to an iterator of documents, written as a generator. Taught in 5.2 Extract, normalize, and quality filters
- Staging model: a one-per-source model doing light renaming and recasting; the contract boundary with raw data. Taught in Chapter 4: Orchestration and Modeling
- Stop-word vote: language identification where each stop word votes for every language that lists it. Taught in 5.2 Extract, normalize, and quality filters
- Time travel: querying a past snapshot of a table. Taught in Chapter 2: Storage and Warehousing
- Traceability: every shard row’s source has a valid ledger row under the same license string. Taught in 5.8 Licensing ledger verification and the datasheet
- Trigger: the rule deciding when a window’s result is emitted. Taught in Chapter 3: Batch and Streaming Processing
- Typed placeholder: a token such as
<EMAIL>that replaces a match and names its kind. Taught in 5.5 PII scrub with typed placeholders and audit spans
- Union-find: a disjoint-set forest that merges confirmed pairs into clusters; here rooted at the smallest id. Taught in 5.4 Near-duplicate dedup: MinHash, LSH, union-find, and decontamination
- Version: the header field that selects
uint16(1) oruint32(2) ids. Taught in 5.7 Tokenize and pack to llm.c .bin
- Watermark: the system’s estimate that no more data older than a given event time is expected. Taught in Chapter 3: Batch and Streaming Processing
- Write amplification: the extra writes an LSM-tree performs when compaction rewrites data. Taught in Chapter 2: Storage and Warehousing
- Zone map: per-block min-max statistics used to skip blocks that cannot match a predicate. Taught in Chapter 2: Storage and Warehousing