Part 11 · Appendices · Chapter 39
Glossary and bibliography
Every core term in the book with a one-line definition and the chapter that explains it, the pinned specs and source, and every source the chapters cite, grouped by part.
After this chapter you should be able to:
- Look up any term or source quickly.
- Tell apart pairs of terms that are easy to confuse.
This chapter is a reference. The glossary gives each term a one-line definition and links to the chapter that explains it with citations; the definitions here are summaries, not the source of truth. The bibliography is generated from the sources of every chapter, so it stays in step with the book.
Glossary
- Action
- One line of a Delta commit: add, remove, metaData, protocol, txn, domainMetadata, cdc or commitInfo. Chapter 9: The actions
- Action reconciliation (log replay)
- The replay rule: the latest protocol and metaData win, and a file is live if its last add is not followed by a remove of the same path and DV. Chapter 9: Action reconciliation
- Adaptive query execution (AQE)
- Spark re-planning at stage boundaries with runtime statistics: coalescing partitions, switching join strategies, splitting skew. Chapter 33: Adaptive query execution
- Backfill (publish)
- Copying ratified commits from the catalog's staging into _delta_log as numbered files, in order. Chapter 14: Publishing
- Bloom filter
- A per-column-chunk probabilistic set that answers "definitely absent" for equality predicates on high-cardinality columns. Chapter 8: Bloom filters
- Catalog-managed table (coordinated commits)
- A Delta table whose catalog ratifies each commit; a version exists once the catalog accepts it, and published log files may lag. Chapter 14: Why the catalog decides
- Catalyst
- Spark SQL's tree-transformation framework: analysis, logical optimization, physical planning and code generation. Chapter 29: Trees and rules
- Change data feed (CDF)
- Row-level inserts, updates and deletes per version, from cdc files or derived from adds and removes. Chapter 15: Change data feed
- Checkpoint
- A Parquet (or v2 JSON/Parquet) file holding the reconciled state at a version, so readers do not replay the whole log. Chapter 11: What a checkpoint contains
- Column chunk
- The data of one column within one row group, stored as a sequence of pages. Chapter 5: The bytes
- Column index / offset index (page index)
- Per-page min/max and null counts (column index) and page locations (offset index), stored before the footer so readers can skip pages. Chapter 8: The page index
- Column mapping
- Giving each column a stable id and physical name in the files, so renames and drops do not rewrite data. Chapter 15: Column mapping
- ColumnarBatch
- Spark's in-memory batch of column vectors, produced by the vectorized Parquet reader. Chapter 31: ColumnarBatch and ColumnVector
- Commit arbiter (LogStore)
- Whatever guarantees that exactly one writer creates a given table version: a conditional PUT, a lock in a database such as DynamoDB, or a catalog. Chapter 4: Delta LogStores
- Conditional write (put-if-absent, If-None-Match)
- A PUT that succeeds only if a precondition holds, such as If-None-Match: * (the key must not exist). It gives put-if-absent, the primitive a log needs to commit. Chapter 4: S3 before conditional writes
- Conflict checking
- Delta's comparison of a losing transaction's reads and writes against the commits that won, deciding whether it can be rebased to the next version. Chapter 10: Losing the race and checking for conflicts
- Copy-on-write / merge-on-read
- Two ways to apply row-level changes: rewrite affected files, or write deletes (vectors or delete files) that readers apply. Chapter 34: Phase 2: rewriting with copy-on-write
- Credential vending
- A catalog issuing short-lived storage credentials scoped to one table's path after an access check. Chapter 24: Credential vending
- Data skipping
- Pruning files whose per-file min/max statistics cannot satisfy a predicate. Chapter 26: How a predicate becomes a file filter
- DataSource V2 (DSv2)
- Spark's connector API, where a table source plans scans with pushed filters and projections and writes with commit protocols. Chapter 30: The connector read API
- Definition level
- For nested or optional data, how many optional or repeated fields along the path are defined; less than the maximum means null or empty at that depth. Chapter 7: Levels
- Deletion vector (DV)
- A bitmap of deleted row positions attached to a data file, so deletes and updates mark rows instead of rewriting files. Chapter 13: Merge-on-read in Delta
- Delta log (_delta_log, transaction log)
- The _delta_log directory of numbered JSON commits (and checkpoints) whose replay defines a Delta table's state at each version. Chapter 9: A table is a serial history of versions
- DELTA_BINARY_PACKED
- An integer encoding that stores a first value, then blocks of deltas minus the block minimum, bit-packed per miniblock. Chapter 6: DELTABINARYPACKED
- Dictionary encoding
- Storing each distinct value once in a dictionary page and the column as indices into it, encoded with the RLE/bit-packing hybrid. Chapter 6: Dictionary encoding
- Equality delete file
- An Iceberg v2 delete file listing column values; matching rows in data files with a lower data sequence number are deleted. Cheap to write, expensive to read. Chapter 20: Equality deletes
- External location
- A storage URL prefix paired with a storage credential; in Unity Catalog, locations never nest. Chapter 23: Object model
- Field id
- The permanent integer identifying an Iceberg column, used to resolve columns in data files regardless of name or position. Chapter 19: Field IDs
- IcebergCompat
- Delta writer features (V1, V2) that constrain a Delta table so its files are valid Iceberg data files. Chapter 22: IcebergCompat: what a Delta writer must do
- Liquid clustering
- Delta's incremental clustering by Hilbert curve over clustering columns, changeable without rewriting the table. Chapter 27: The clustered table feature
- Log compaction
- A file x.y.compacted.json holding the reconciled actions of commits x to y, which a reader may use instead of those commits. Chapter 11: Log compaction files
- Logical file
- A data file together with its optional deletion vector. Delta reconciles file actions by the key (path, deletionVector.uniqueId), so the same path with a new DV is a different logical file. Chapter 9: Action reconciliation
- Managed table
- A table whose storage path the catalog chooses and owns; in Unity Catalog, under __unitystorage by UUID. Chapter 23: Object model
- Manifest
- An Avro file of entries for data or delete files, each with status, sequence numbers, partition tuple and column statistics. Chapter 16: Manifests
- Manifest list
- Per Iceberg snapshot (v1-v3), the Avro file listing its manifests with partition summaries. Chapter 16: Manifest lists
- Metadata pointer swap
- Iceberg's commit: the catalog atomically replaces the table's current metadata location if it still equals the base the writer read. Chapter 17: Commit: swap the metadata pointer
- Metastore (Unity Catalog)
- The top-level container of catalogs, storage credentials and external locations. Chapter 23: Object model
- Object store
- Storage addressed by bucket and key with whole-object PUT, GET, LIST and DELETE, no rename or append, such as S3. Chapter 3: Objects, keys and the flat namespace
- Optimistic concurrency control (OCC)
- Writers prepare a commit against a read snapshot, try to create the next version, and on losing check the winners for logical conflicts before retrying. Chapter 10: Where this comes from
- OPTIMIZE
- Compacting small files into larger ones, optionally clustering them, as a dataChange = false commit. Chapter 28: OPTIMIZE: bin-packing
- Page
- The unit of encoding and compression inside a column chunk: data pages and an optional dictionary page, each with a header. Chapter 5: Pages
- Partition evolution
- Changing an Iceberg table's partition spec; old files keep their spec id, and planning handles each spec separately. Chapter 18: Partition evolution
- Photon
- Databricks' native vectorized engine in C++ that runs under Spark's planner. Chapter 36: How Photon enters a Spark plan
- Position delete file
- An Iceberg v2 delete file listing (file path, row position) pairs. Chapter 20: Position deletes
- Protocol version
- minReaderVersion and minWriterVersion in a Delta table's protocol action; clients that implement less must not read or write. Chapter 12: Legacy protocol versions
- Repetition level
- For nested data, the depth of the repeated field at which a value starts a new list entry; 0 means a new record. Chapter 7: Levels
- REST catalog
- Iceberg's OpenAPI protocol for catalogs: load table, commit with requirements and updates, and vended credentials. Chapter 21: Configuration
- RLE / bit-packing hybrid
- Parquet's encoding for small integers (levels, dictionary indices) that alternates run-length runs and bit-packed groups of 8. Chapter 6: RLE / bit-packing hybrid
- Row filter / column mask
- SQL functions attached to a table that filter rows and transform column values per querying user. Chapter 24: Fine-grained access
- Row group
- A horizontal slice of a Parquet file holding one column chunk per column. Chapter 5: The bytes
- Row tracking (row lineage)
- Stable row ids and row commit versions assigned through baseRowId and defaultRowCommitVersion on each file. Chapter 13: Row tracking
- Sequence number
- Iceberg's monotonically increasing commit counter, which orders deletes against the data they apply to. Chapter 16: Sequence numbers and inheritance
- Shuffle
- Redistributing rows across tasks by partition key, written by map tasks and fetched by reduce tasks. Chapter 33: The exchange and hash partitioning
- Sidecar
- A file referenced by a v2 checkpoint that holds part of its add and remove actions. Chapter 11: Two specs, three names
- Snapshot
- The state of a table at one version: protocol, metadata, live files, tombstones and transaction ids (Delta), or a snapshot entry with its manifest list (Iceberg). Chapter 9: A table is a serial history of versions
- Strong read-after-write consistency
- S3's guarantee, since December 2020, that a successful PUT is visible to every later GET and LIST. Chapter 3: Consistency, then and now
- Table feature
- A named capability listed in readerFeatures or writerFeatures (at reader 3 / writer 7) that clients must implement to read or write the table. Chapter 12: Table features
- Table metadata file (metadata.json)
- The JSON file holding an Iceberg table's schemas, specs, snapshots and refs; the catalog points at the current one. Chapter 16: Table metadata
- Tombstone
- A remove action kept in the snapshot after its file left the table. It exists for VACUUM, which must not delete a file an older snapshot may still read until the retention period has passed. Chapter 9: Tombstones, retention and time travel
- Type widening
- Changing a column to a wider type (for example int to long) without rewriting files, with the history recorded in field metadata. Chapter 15: Type widening
- UniForm
- Delta's feature that writes Iceberg metadata for each Delta commit over the same Parquet files. Chapter 22: How UniForm converts a commit
- VACUUM
- Deleting files no longer referenced by any version within the retention period. Chapter 28: VACUUM
- Vectorized execution
- Operators that process vectors of values per call, from MonetDB/X100, as opposed to one row at a time. Chapter 32: MonetDB/X100
- Whole-stage code generation (codegen)
- Spark fusing a pipeline of operators into one generated Java function. Chapter 32: Data-centric code generation
- WriteSerializable
- Delta's default isolation level. It checks the same conflicts as Serializable except that files added by concurrent blind appends are ignored. Chapter 10: Isolation levels
- Z-order
- Sorting by the bit-interleaved values of several columns, so files have narrow ranges on each. Chapter 26: Z-order: interleaving bits
Terms that are easy to confuse
| the difference | ||
|---|---|---|
| Delta checkpoint | log compaction file | Full reconciled state at one version, or the reconciled actions of a range of commits |
| supported feature | active feature | Named in the protocol action, or named and its metadata requirement met |
| snapshot id | sequence number | Iceberg’s unique id, or its ordered commit counter that scopes deletes |
| position delete | equality delete | Delete by file and row position (cheap to read), or by column values (cheap to write) |
| deletion vector | delete file | A bitmap attached to one data file (Delta, Iceberg v3), or a separate file of deletes (Iceberg v2) |
| repetition level | definition level | Where a repeated value starts (0 = new record), or how much of an optional path is present |
| managed table | external table | The catalog chooses and owns the path, or the user names it and the catalog records it |
| partition (Hive, Delta) | hidden partition (Iceberg) | A column whose values name directories, or a transform of a source column recorded in metadata |
| OPTIMIZE | VACUUM | Rewrites live files into fewer, larger ones; deletes unreferenced files after the retention period |
| copy-on-write | merge-on-read | Rewrite the affected files at write time, or write deletes that readers apply |
- State at v12 Materializes the reconciled table state through version 12.
- Changes from v10 through v12 Reconciles actions within that range. Earlier state is a separate input.
Q1. Delta checkpoint vs log compaction file: what is the difference?
Q2. A supported Delta table feature vs an active one?
Q3. Iceberg sequence number vs snapshot id?
Q4. In Parquet, which level tells you that a value starts a new record?
Q5. Position delete vs equality delete in Iceberg: which is cheaper to read?
Bibliography
Pinned specifications and source. Every protocol claim cites one of these at a fixed commit:
| project | pin | used for |
|---|---|---|
| delta-io/delta | 25561a5 | PROTOCOL.md, Spark connector, UniForm |
| apache/iceberg | 9d2bf51 | format/spec.md, REST OpenAPI, core and Spark modules |
| apache/parquet-format | 6f87925 | README, Encodings.md, LogicalTypes.md, parquet.thrift |
| apache/spark | v4.0.1 | Catalyst, DataSource V2, vectorized reader, shuffle and joins |
| unitycatalog/unitycatalog | v0.7.0 | server, managed tables spec |
| apache/incubator-xtable | 1d5da68 | ConversionController |
Papers with dates and venues are on the chapter 2 timeline. Below is every source listed in a chapter’s front matter, grouped by the part that first cites it.
Part 1: Foundations and history
- Armbrust, Ghodsi, Xin, Zaharia: Lakehouse, CIDR 2021 cited in ch. 1, ch. 2
- Armbrust et al.: Delta Lake, PVLDB 13(12), 2020 cited in ch. 1, ch. 2, ch. 9, ch. 10
- Thusoo et al.: Hive, VLDB 2009 cited in ch. 1
- Melnik et al.: Dremel, PVLDB 3(1), 2010 cited in ch. 2, ch. 5, ch. 7
- Armbrust et al.: Spark SQL, SIGMOD 2015 cited in ch. 2, ch. 29
- Boncz, Zukowski, Nes: MonetDB/X100, CIDR 2005 cited in ch. 2, ch. 32
- Behm et al.: Photon, SIGMOD 2022 cited in ch. 2, ch. 36
Part 2: Object storage
- Amazon S3 consistency model cited in ch. 3
- Amazon S3 conditional writes cited in ch. 3
- ListObjectsV2 API reference cited in ch. 3
- Amazon S3 performance guidelines cited in ch. 3
- Delta BaseS3LogStore.java @ 25561a5 cited in ch. 3
- Delta PROTOCOL.md @ 25561a5 cited in ch. 4, ch. 9, ch. 10, ch. 11, ch. 12, ch. 13, ch. 15, ch. 22, ch. 25, ch. 26, ch. 28, ch. 30, ch. 34, ch. 37, ch. 38, ch. 39
- Delta LogStore implementations (storage module) cited in ch. 4
- Delta S3DynamoDBLogStore (storage-s3-dynamodb module) cited in ch. 4
- Iceberg table spec @ 9d2bf51 cited in ch. 4, ch. 16, ch. 17, ch. 18, ch. 19, ch. 20, ch. 22, ch. 25, ch. 26, ch. 30, ch. 34, ch. 38, ch. 39
Part 3: Parquet and columnar files
- parquet-format README @ 6f87925 cited in ch. 5, ch. 7
- parquet.thrift (file metadata) cited in ch. 5, ch. 8
- Encodings.md cited in ch. 5, ch. 6, ch. 31
- parquet-format Compression.md @ 6f87925 cited in ch. 6
- parquet-java 1.17.1 values writers cited in ch. 6
- parquet-format LogicalTypes.md @ 6f87925 cited in ch. 7
- parquet-format VariantShredding.md @ 6f87925 cited in ch. 7
- parquet-format PageIndex.md @ 6f87925 cited in ch. 8
- parquet-format BloomFilter.md @ 6f87925 cited in ch. 8
- parquet-java 1.17.1 filter2 cited in ch. 8
Part 4: Delta Lake protocol
- InMemoryLogReplay.scala cited in ch. 9
- SnapshotManagement.scala cited in ch. 9, ch. 11, ch. 14
- Snapshot.scala cited in ch. 9
- DeltaConfig.scala (table property defaults) cited in ch. 9
- ConflictChecker.scala cited in ch. 10
- OptimisticTransaction.scala cited in ch. 10
- isolationLevels.scala cited in ch. 10
- BaseExternalLogStore.java (S3 + DynamoDB) cited in ch. 10
- Kung and Robinson, On Optimistic Methods for Concurrency Control, ACM TODS 6(2), June 1981 cited in ch. 10, ch. 17
- Databricks docs, Isolation levels and write conflicts cited in ch. 10
- Databricks docs, Row-level concurrency cited in ch. 10, ch. 37
- Checkpoints.scala cited in ch. 11
- TableFeature.scala cited in ch. 12
- TableFeatureSupport.scala cited in ch. 12
- alterDeltaTableCommands.scala cited in ch. 12
- RoaringBitmapArray.scala cited in ch. 13
- RoaringFormatSpec cited in ch. 13
- Chambi, Lemire, Kaser, Godin: Roaring bitmaps, SPE 2016 cited in ch. 13, ch. 20
- Delta PROTOCOL.md @ 25561a5: Catalog-managed tables cited in ch. 14, ch. 23
- AbstractBatchBackfillingCommitCoordinatorClient.scala cited in ch. 14
- Databricks: Catalog commits cited in ch. 14
- CDCReader.scala cited in ch. 15
- DeltaColumnMapping.scala cited in ch. 15
- TypeWidening.scala cited in ch. 15
Part 5: Apache Iceberg spec
- FastAppend.java cited in ch. 16
- ManifestGroup.java cited in ch. 16
- Netflix/iceberg (original repository) cited in ch. 16
- SnapshotProducer.java cited in ch. 17
- MergingSnapshotProducer.java cited in ch. 17
- SparkWrite.java (Spark 4.1 module) cited in ch. 17
- transforms/ (Bucket, Truncate, Timestamps, ProjectionUtil) cited in ch. 18
- BaseUpdatePartitionSpec.java cited in ch. 18
- SchemaUpdate.java cited in ch. 19
- parquet/ReadConf.java cited in ch. 19
- Puffin spec @ 9d2bf51 cited in ch. 20
- DeleteFileIndex.java cited in ch. 20
- data/DeleteFilter.java cited in ch. 20
- Iceberg REST catalog OpenAPI @ 9d2bf51 cited in ch. 21
- UpdateRequirements.java cited in ch. 21
- rest/CatalogHandlers.java cited in ch. 21
- rest/RESTTableOperations.java cited in ch. 21
Part 6: Interoperability
Part 7: Catalogs and governance
- Unity Catalog (open source) @ v0.7.0 (2b17f3b) cited in ch. 23
- Unity Catalog managed Delta tables spec @ 2b17f3b cited in ch. 23
- Databricks docs: securable objects in Unity Catalog cited in ch. 23
- Unity Catalog (open source) @ v0.7.0 (2b17f3b): AuthorizeExpressions cited in ch. 24
- Unity Catalog @ 2b17f3b: jcasbin_auth_model.conf cited in ch. 24
- Databricks docs: Unity Catalog privileges and securable objects cited in ch. 24
- Databricks docs: credential vending cited in ch. 24
- Databricks docs: row filters and column masks cited in ch. 24
Part 8: Data layout
- Apache Spark v4.0.1 datasources cited in ch. 25
- Delta skipping and stats source @ 25561a5 cited in ch. 26
- Delta PROTOCOL.md @ 25561a5: Clustered Table cited in ch. 27
- Delta OptimizeTableStrategy @ 25561a5 cited in ch. 27
- Delta ZCube @ 25561a5 cited in ch. 27
- Databricks docs: liquid clustering cited in ch. 27
- Delta OptimizeTableCommand @ 25561a5 cited in ch. 28
- Delta VacuumCommand @ 25561a5 cited in ch. 28
- Iceberg table spec @ 9d2bf51: snapshot retention cited in ch. 28
Part 9: Query execution
- Apache Spark v4.0.1 source cited in ch. 29, ch. 30, ch. 31, ch. 33
- Databricks: dynamic file pruning cited in ch. 30
- Apache Arrow columnar format @ 4461671 cited in ch. 31
- Neumann: Efficiently Compiling Efficient Query Plans for Modern Hardware, PVLDB 4(9), 2011 cited in ch. 32
- Kersten et al.: Everything You Always Wanted to Know About Compiled and Vectorized Queries But Were Afraid to Ask, PVLDB 11(13), 2018 cited in ch. 32
- Databricks: Adaptive query execution cited in ch. 33
- Delta Spark connector source @ 25561a5 (MergeIntoCommand, ClassicMergeExecutor, DeleteCommand, UpdateCommand) cited in ch. 34
- Apache Spark v4.0.1 RewriteMergeIntoTable cited in ch. 34
- Delta PROTOCOL.md @ 25561a5: Transaction Identifiers cited in ch. 35
- Delta Spark sources @ 25561a5 (DeltaSource, DeltaSourceOffsetLogic, DeltaSink) cited in ch. 35
- Apache Spark v4.0.1 MicroBatchExecution cited in ch. 35
- Iceberg Spark 4.0 streaming source and sink @ 9d2bf51 cited in ch. 35
Part 10: The Databricks platform
- Behm et al.: Photon: A Fast Query Engine for Lakehouse Systems, SIGMOD 2022 cited in ch. 36
- Databricks docs: What is Photon? cited in ch. 36
- Apache Spark v4.0.1 TaskMemoryManager cited in ch. 36
- Databricks docs: predictive optimization cited in ch. 37
- Databricks docs: tune file size cited in ch. 37
- Databricks docs: disk cache cited in ch. 37
- Databricks docs: Unity Catalog managed tables cited in ch. 37
Part 11: Appendices
- parquet-format @ 6f87925 cited in ch. 38, ch. 39
Q1. Why does every spec and source link in this book contain a 40-character commit SHA?
Summary
- Search the glossary for a term or alias, and follow its chapter link for the full explanation and citations.
- The table of confusable pairs is worth a second read before the specs.
- All spec and source links are pinned to the commits above; the per-part bibliography lists every chapter source.
Primary sources
Review this chapter
This chapter has 6 quiz questions.