liveBook · Manning

Delta table

As explained in Designing Deep Learning Systems: A guide for software engineers

A Delta Lake table is a versioned tabular data structure stored in object storage with transaction-log metadata, schema enforcement, and support for table operations.

A Delta table stores batch or streaming data in cloud object storage while adding transaction-log metadata, schema enforcement, indexing, caching, ACID transactions, and table history. It behaves like a SQL table: query, insert, update, and merge operations are supported. section 2.3.1

A production data pipeline commonly separates responsibilities across:

Reading a historical version

Use DeltaTable.forPath(spark, pathToTable) to inspect history, then read a prior state with format("delta"), timestampAsOf, or versionAsOf. section 2.3.1

Figure 2.16 Delta Lake data ingestion and processing workflow. Both stream data and batch data can be saved as Delta Lake tables, and the Delta Lake tables are stored in the cloud object storage, such as Amazon S3.

Shows how batch and streaming inputs become Delta tables in cloud object storage and flow through processing stages. section 2.3.1

How Designing Deep Learning Systems: A guide for software engineers covers it

How deep it goes
Defines storage, metadata, schema, transactions, history, and pipeline roles without detailing implementation internals.
Examples
Uses bronze-silver-gold pipelines, time-travel reads, and image datasets consumed through Petastorm.
What you can do after
Operate/configure versioned tables, enforce schemas, inspect history, restore prior states, and feed training datasets.
How it connects
Connects Apache Spark, cloud object storage, ETL, Petastorm, PyTorch, and TensorFlow through a dataset workflow.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Designing Deep Learning Systems: A guide for software engineers. The section links point to the parts of the book it draws on.