Skip to main content

Learn with Atlan 13 min read

Apache Iceberg Architecture: Core Components and Their Functions

Quick answer

Apache Iceberg separates table discovery, table metadata, and data files into three layers. The catalog holds a pointer to the current metadata file. The metadata layer records the schema, partition specs, snapshots, and the manifests that list data files. The data layer stores records in Parquet, Avro, or ORC. A commit swaps one metadata file for another, so each reader works from a consistent snapshot, and schema and partition changes are metadata edits. Atlan's Context Store uses Iceberg to make context portable across engines.

  • Catalog layer: Points to the current metadata file for each table
  • Metadata layer: Schemas, partition specs, snapshots, and manifests
  • Data layer: Parquet, Avro, or ORC files in object storage or HDFS
  • Commit: An atomic swap of one metadata file for another

Is your Iceberg stack missing context?

Get Your Context Gap Score

Apache Iceberg is an open table format for large analytic tables that keeps a table’s catalog reference, metadata, and data files in separate layers. Atlan’s context layer for AI stores context as Iceberg tables. Atlan’s governed metadata lifted text-to-SQL accuracy 38% in Atlan’s benchmark published in 2026. The benchmark ran 174 queries three times each (522 evaluations) on one 13-table dataset, and the win rate rose from 16.1% to 22.2%. It tested the metadata, not the Iceberg format.

Pick Your Iceberg Catalog


Give it the engines that write, where your work runs, the formats you hold and the access rules that must reach external engines. It returns a first choice and a fallback with the deciding trade-off, the caveats for your case and a pilot test plan. Read the skill.

Paste into a new chat

Use the skill at https://atlan.com/skills/iceberg-catalog-picker.md to pick an Apache Iceberg catalog for our stack. Ask me for whatever it needs.

Run once in a terminal

curl -fsSL --create-dirs \
  -o ~/.agents/skills/iceberg-catalog-picker/SKILL.md \
  https://atlan.com/skills/iceberg-catalog-picker.md

For an agent

curl -fsSL https://atlan.com/skills/iceberg-catalog-picker.md

The Context Store keeps context in Iceberg tables behind a Polaris REST catalog. Atlan’s documentation lists Snowflake, Databricks, PySpark, and Amazon Athena among the engines that can query it. No proprietary export is needed.

Atlan, an AI Context Platform, builds on the three-layer design below, and an open format is one reason context stays portable when the engine or the agent changes. That layered design supports schema evolution, partition evolution, snapshot reads, and time travel without rewriting all existing files.

If you are a data engineer running more than one engine against the same Iceberg tables, the catalog you choose decides whether concurrent writes are safe; a Hadoop catalog on S3 is not. Pick the catalog for its commit guarantees, and keep the meaning of the data in a layer above it.

For how Iceberg v3 changes row-level deletes, or how the format sits on Parquet files, see those guides. New to the format? Start with Atlan’s Apache Iceberg guide.

Layer What it holds Format
Catalog The pointer to each table’s current metadata file Depends on the backend: REST service, Hive Metastore, JDBC database
Metadata Schemas, partition specs, snapshots, manifests JSON metadata files; Avro manifests in versions 1 to 3
Data Table records and delete files Parquet, Avro, or ORC

Apache Iceberg architecture: Three core components

Each layer answers one question for a query engine: which table, what state, and where are the records.

  • Catalog layer: Tracks the current metadata location for each table.

  • Metadata layer: Records schemas, partition specs, snapshots, and references to data and delete files.

  • Data layer: Holds the data files, in Parquet, Avro, or ORC, on a storage backend.

Apache Iceberg architecture: catalog layer, metadata layer with manifest lists and manifest files, and data layer
Apache Iceberg architecture. Source: O'Reilly Media

Apache Iceberg architecture: The catalog layer


Iceberg’s table specification says every change to table state creates a new metadata file. The new file replaces the old one with an atomic swap, and that swap is the basis for serializable isolation. A reader uses the snapshot that was current when it loaded the table. Later commits do not affect it until it refreshes, so two engines can see different snapshots of one table.

Writers work optimistically. Per Iceberg’s reliability documentation, a writer writes new metadata assuming no one else is writing, then tries the swap. If another writer committed first, the swap fails and the writer retries against the new current state, and it must fail if the files its change depends on are gone. This guarantee covers one table, not a transaction across tables.

The catalog is where the swap happens. Iceberg’s terms page calls tracking a table’s current metadata the catalog’s most important job. Creating, dropping, and renaming tables come next.

Commit strength depends on the catalog, because the swap must be atomic in whatever backend holds the pointer. The JDBC catalog documentation, for one, requires a database that supports atomic transactions.

Iceberg lets you choose the catalog, and the choice has consequences beyond Iceberg. The catalog options section below lists the common ones.

Example: a compaction that loses a race


Iceberg’s reliability documentation gives one case. A compaction job rewrites two small files into one merged file. If the table still contains both small files when the job commits, the swap is safe. If a conflicting commit deleted either one, the compaction must fail, because the assumption it was built on no longer holds.

Apache Iceberg architecture: The metadata layer


The metadata layer records a table’s structure and history, plus references to the files in each snapshot. Three constructs work together.

  • Metadata files: JSON files that hold the table schema, partition specs, properties, and snapshot history. The catalog points to the current one.

  • Manifest lists: One per snapshot. A manifest list names the manifests that make up the snapshot and carries partition summaries, so a scan can skip manifests it does not need.

  • Manifest files: In the specification’s words, a manifest file lists a subset of the data files in a snapshot. Each entry carries a partition tuple and column-level stats, which engines use to prune files during scan planning. From version 2, separate delete manifests track delete files. In format versions 1 to 3, manifests are Avro files.

This metadata describes the table apart from its files, so schema updates are metadata changes. You can add, drop, rename, reorder, and widen columns without rewriting data files. Partition layouts can change the same way. Iceberg’s documentation notes that Hive table partitioning cannot change, so a move from daily to hourly partitions there means a new table.

Format version 4 is still under active development and has not been formally adopted, according to the specification. It replaces manifest lists with a single root manifest per snapshot. Versions 1, 2, and 3 are the adopted ones.

Apache Iceberg architecture: The data layer


The data layer is where records live. It sits on a storage backend such as Amazon S3, Azure Data Lake Storage, Google Cloud Storage, or HDFS.

Data files are Avro, Parquet, or ORC, and the metadata decides which files belong to which snapshot. Time travel and rollback work only while snapshots are kept. Per Iceberg’s maintenance guide, expiring snapshots removes them from metadata. Data files are deleted only once no retained snapshot references them.

Version 2 added delete files. They mark rows as deleted in immutable data files without rewriting those files. Whether an engine writes them is a setting: Iceberg’s table configuration lets delete, update, and merge commands run as copy-on-write, which rewrites files, or merge-on-read, which uses delete files. The three delete forms differ in how they identify rows:

  • Position delete files: Identify rows by data file path and row position. Version 2 only; the specification deprecates them in version 3.

  • Equality delete files: Identify rows by the values of one or more columns. The specification does not allow new ones in version 4.

  • Deletion vectors: A bitmap of deleted positions for a single data file, added in version 3 and described by the specification as the current representation.

For new tables on version 3, plan on deletion vectors, since the specification calls them the current representation.


Apache Iceberg: Catalog options to consider

Iceberg catalogs are pluggable, and the project ships several out of the box. The right one depends on which engines must write, where your workloads run, and who operates the catalog.

  • Hive Metastore: Tracks namespaces and tables in a Hive metastore. The Unity Catalog versus Hive Metastore guide covers the trade-offs for Databricks stacks.

  • Hadoop catalog: Stores the table pointer in a file system. Iceberg’s Java quickstart says it can only be used with HDFS or similar file systems that support atomic rename, and that concurrent writes with a Hadoop catalog are not safe on S3 or a local file system.

  • AWS Glue Data Catalog: A managed catalog for AWS-native stacks; AWS documents creating Iceberg tables in it. Atlan’s guide to Iceberg and AWS Glue goes deeper.

  • JDBC catalog: Tracks namespaces and tables in a relational database that supports atomic transactions.

  • REST catalog: A server-side catalog behind the Iceberg REST API, so engines connect through one shared protocol whatever the backend. Apache Polaris implements that API, and Project Nessie adds git-like version control.

Catalogs differ in transaction handling, access control, and federation. Test both against the documentation for the catalog you plan to run. If you are choosing for a specific stack, the REST catalog comparison and picker walks through the engines that write, the formats you hold, and the access rules that must reach external readers. Snowflake and Databricks teams can compare catalog options for Snowflake and catalog options for Databricks.

An Iceberg catalog manages table-level metadata. Iceberg sets no standard model for business definitions, ownership, lineage, and policy. Catalogs differ in how much of that they hold. An AI agent needs those answers in one place before it acts.


Why an Iceberg catalog needs a context layer above it

An Iceberg catalog helps engines find and commit tables. A context layer connects those tables to their meaning, owners, lineage, and policies.

An organization-wide data catalog serves a different purpose, and a context layer goes a step further. Atlan’s reference architecture for a context layer shows where that layer sits relative to storage and engines. A context layer can also sit on top of existing catalogs rather than replace them.

Atlan is the context layer for AI, the infrastructure that makes enterprise AI accurate and trustworthy. Before an agent acts, it needs to know what is classified as PII, what policies apply, who can access what, and what is certified. Atlan supplies the classifications, policy context, and lineage; access to the underlying Iceberg data is still enforced by your catalog, query engine, and storage permissions.

Embedded data governance puts these controls in the tools where the work happens, and lineage that AI-ready data depends on traces a table back to its sources. Atlan’s page on Polaris and Atlan covers how the two fit together.

Choose the catalog for how it commits, and put business meaning in a layer above it.


Explore Apache Iceberg with Atlan

Atlan’s Context Store stores context as Apache Iceberg tables behind a Polaris REST catalog.

Atlan’s Lakehouse documentation describes the Iceberg REST catalog as the single entry point for engines. Its list of engines you can connect includes Snowflake, Amazon Athena, PySpark, Google BigQuery, Databricks, and Microsoft Fabric, and you supply the query compute.

Open tables mean any Iceberg REST-compatible client can read the context, so it is not tied to one data stack. That is the design behind a multi-cloud context layer and a model-agnostic one, and the alternative to single-stack lock-in. Before you design around one, compare a context graph and a context store.

Agents reach the same context through Atlan MCP, and how the protocol is built is explained separately. Business definitions raise their own question, covered in semantic layer versus data catalog and data catalogs for AI. To try this on one domain first, start a context layer pilot with a bounded scope.


Frequently asked questions about Apache Iceberg architecture

Short answers on layers, catalogs, schema changes, commits, and drops.

1. What are the core components of Apache Iceberg’s architecture?


Apache Iceberg has three core components. The catalog layer holds the pointer to a table’s current metadata file. The metadata layer tracks the schema, partition specs, snapshots, and manifests. The data layer stores the records in Parquet, Avro, or ORC files.

2. What are the catalog options available for Apache Iceberg, and how do they differ?


Iceberg ships REST, Hive Metastore, JDBC, Nessie, Hadoop, and AWS Glue catalogs. They differ in where the table pointer is stored, how the atomic swap is done, and which engines and access controls they support. A Hadoop catalog is not safe for concurrent writes on S3.

3. How does Apache Iceberg handle schema evolution?


Schema changes are metadata changes. You can add, drop, rename, widen, and reorder columns, including in nested structures. None of it rewrites data files. Iceberg guarantees these changes are independent and free of side effects, so a dropped column does not change other columns and an added column never reads another column’s values.

4. How does Apache Iceberg ensure ACID transactions in a data lake environment?


A writer creates a new metadata file and commits by swapping it in for the current one. The specification states this atomic swap is the basis for serializable isolation, and readers keep the snapshot they loaded until they refresh. If another writer commits first, the swap fails and the writer retries against the new state. The guarantee covers a single table. How the swap is implemented depends on the catalog, and durability depends on the storage backend.

5. How does Apache Iceberg handle table creation and deletion?


Creating a table writes its initial metadata and registers it in the catalog. In Spark, DROP TABLE removes the table from the catalog only, and DROP TABLE PURGE also deletes the table’s contents. Confirm the behavior in your engine and catalog before relying on a drop to remove files.

6. What is a table format?


A table format defines how a table’s schema, partitions, and data files are tracked, so engines can treat a set of files as one table. Iceberg describes itself as a high-performance format for huge analytic tables that lets engines such as Spark, Trino, and Flink work safely with the same tables.

7. How does Apache Iceberg differ from Hive tables?


Iceberg tracks individual data files in a table instead of directories, so planning does not rely on listing directories or renaming files. Its documentation also notes that Hive table partitioning cannot change, while an Iceberg partition layout can change without a new table.

8. What is a snapshot, and how do branches and tags differ?


A snapshot is the state of a table at one point in time, and it lists the data files that make up the table then. Branches and tags are named references to snapshots with their own lifecycles. A branch is an independent lineage of snapshots that points to its head.

9. What changed in Iceberg version 3?


Version 3 added deletion vectors, default values for columns, multi-argument partition and sort transforms, row lineage tracking, and table encryption keys. It also added data types such as nanosecond timestamps, variant, geometry, and geography. Check that your engines support these features before you upgrade a table.

10. Why do Iceberg tables need ongoing maintenance?


Every write creates a snapshot, and snapshots pile up until they are expired. Iceberg’s maintenance guide recommends regular expiry to delete unneeded data files and keep metadata small. Tables with frequent commits may also need old metadata files cleaned, small data files compacted, and orphan files from failed jobs deleted.


Sources

  1. Iceberg table specification, Apache Iceberg
  2. Terms, Apache Iceberg
  3. Reliability, Apache Iceberg
  4. Evolution, Apache Iceberg
  5. Configuration, Apache Iceberg
  6. Maintenance, Apache Iceberg
  7. JDBC catalog, Apache Iceberg
  8. Java quickstart, Apache Iceberg
  9. Spark DDL, Apache Iceberg
  10. Apache Polaris
  11. Populating and managing transactional tables, AWS Glue
  12. What is the Atlan Lakehouse, Atlan documentation
  13. Connect query engines, Atlan documentation
  14. Enhanced metadata improves query accuracy, Atlan
  15. Branching and tagging, Apache Iceberg
  16. Apache Iceberg home page
Emily Winks

Written by

Emily Winks, Data Governance Expert

18+ years in information architecture, data governance, and enterprise data management

Published 10 Apr 2025, updated 3 Dec 2026

Bridge the context gap.
Ship AI that works.