Updated on 2026-11-06 GMT+08:00

Iceberg Functions

Apache Iceberg is an open table format for huge analytic datasets. It adds tables to compute engines using a high-performance table format that works just like an SQL table.

Iceberg was built for huge tables. Iceberg is used in production where a single table can contain tens of petabytes of data and even these huge tables can be read without a distributed SQL engine.

Iceberg provides the following functions:

  • Fast scan planning enables table reads and file searches without relying on a distributed SQL engine.
  • Advanced filtering uses table metadata to prune data files based on partition and column-level statistics.
  • Iceberg is designed to solve correctness problems in eventually-consistent cloud object stores. It works with any cloud store and reduces NameNode congestion when in HDFS, by avoiding listing and renames.
  • Serializable isolation enables table changes to be atomic, and readers never see partial or uncommitted changes.
  • Multiple concurrent writers use optimistic concurrency and will retry to ensure that compatible updates succeed, even when writes conflict.

Key Features

  • Scalability: Easily scales to accommodate extensive data tables and large datasets.
  • Query performance: Enhances data retrieval efficiency through its metadata management and query optimization capabilities.
  • Data version management: Offers robust data version control, helping users track and revert data states.
  • Ease of use: Provides straightforward APIs and CLI tools, facilitating effortless creation, management, and query of data tables.
  • Flexible partitioning strategies: Supports adaptable partitioning schemes tailored to diverse dataset characteristics.
  • Multi-version data support: Enables effective version handling and historical tracing of data entries.

Concepts

  • Table: Fundamental entity representing a structured collection of data, including metadata details, storage locations, and partitioning strategies.
  • Partition: Division of data in a table into multiple subsets based on predefined criteria such as time, geographical locations, or product categories.
  • Metadata: Descriptive elements outlining table structures, partitioning strategies, and data evolution histories, which are stored in persistent storage media like HDFS and S3.
  • Snapshot: A static view of table data captured at a specific moment, encapsulating both data and associated metadata.
  • Manifest: An inventory detailing constituent data files within a table, recording metadata like file paths, sizes, and partition specifics.

File Organizational Structure

Iceberg organizes data into two layers: the metadata management layer and the data storage layer.

  • Metadata management layer:
    • Metadata files are in JSON format. They store the metadata information of the current version and all snapshots.
    • Manifest list files, also known as snapshot files, are in Avro format. A snapshot file is generated for each commit, with each line storing the path of a manifest file, the partition range of its stored data files, and information such as the number of data files added or deleted. This provides filtering information during queries to enhance speed.
    • Manifest files are in Avro format. They contain a list of information about multiple data files, where each row offers a detailed description of a data file, including its status, path, partition information, column-level statistics (like max/min values, count of nulls), file sizes, and the number of data rows within the files. Column-level statistics help in filtering out unnecessary files while scanning table data.
  • Data storage layer: The files are in Parquet format by default.