Skip to content
Iceberg Specification, Schema & Internals Last updated: May 29, 2026

Iceberg Parent Snapshot ID

A reference property stored in snapshot metadata that links a snapshot to its immediate ancestor, establishing the table's historical lineage.

parent snapshot idsnapshot lineageiceberg snapshot history

Iceberg Parent Snapshot ID

The Iceberg Parent Snapshot ID is a metadata reference property stored inside each snapshot definition within the table’s master metadata.json file. By pointing to the unique identifier of the snapshot that immediately preceded it, the parent-snapshot-id establishes a chronological, linked lineage of table states. This parent-child relationship allows query engines to traverse the table’s history for time travel, incremental reading, and transaction rollback operations.

History Trees and Lineage

Each write operation in Iceberg generates a new snapshot with its own unique snapshot-id. The metadata links these snapshots sequentially:

Metadata Representation

The following excerpt from an Iceberg table metadata file illustrates how the parent reference links snapshots:

{
  "snapshots": [
    {
      "snapshot-id": 100000000000001,
      "timestamp-ms": 1716982400000,
      "summary": { "operation": "append" }
      /* parent-snapshot-id is omitted or null for the initial snapshot */
    },
    {
      "snapshot-id": 100000000000002,
      "parent-snapshot-id": 100000000000001,
      "timestamp-ms": 1716982460000,
      "summary": { "operation": "overwrite" }
    }
  ]
}

Time Travel and Rollbacks

Query engines rely on these parent pointers to trace the table’s state backward in time. For example, when executing a time travel query to look at data from a specific timestamp, the query engine reads the metadata log, finds the active snapshot at that time, and uses the chain of parent IDs to reconstruct the exact set of manifest files that made up the table state during that historical transaction.

📚 Go Deeper on Apache Iceberg

Alex Merced has authored three hands-on books covering Apache Iceberg, the Agentic Lakehouse, and modern data architecture. Pick up a copy to master the full ecosystem.

← Back to Iceberg Knowledge Base