Apache Iceberg

Clone this repo:
  1. 336174b Baseline: Add Baseline to iceberg-parquet (#526) by Fokko Driesprong · 21 hours ago master
  2. 9f1598e Avro: Add name to ID mapping for files with name-based schemas (#207) by Ratandeep Ratti · 21 hours ago
  3. 706c777 Use OutputFile.location to track metadata JSON files (#566) by Anton Okolnychyi · 5 days ago
  4. 84dd40d Fix key metadata Kryo serialization (#560) by Ryan Blue · 5 days ago
  5. c26193e Python: Fix status in ManifestEntry, remove unused configs (#558) by Ted Gooch · 5 days ago

Apache Iceberg (incubating) is a new table format for storing large, slow-moving tabular data. It is designed to improve on the de-facto standard table layout built into Hive, Presto, and Spark.

Background and documentation is available at https://iceberg.incubator.apache.org

Status

Iceberg is under active development in the Apache Incubator.

The core Java library that tracks table snapshots and metadata is complete, but still evolving. Current work is focused on integrating Iceberg into Spark and Presto.

The Iceberg format specification is being actively updated and is open for comment. Until the specification is complete and released, it carries no compatibility guarantees. The spec is currently evolving as the Java reference implementation changes.

Java API javadocs are available for the master.

Collaboration

Iceberg tracks issues in GitHub and prefers to receive contributions as pull requests.

Community discussions happen primarily on the dev mailing list or on specific issues.

Building

Iceberg is built using Gradle 5.4.1.

  • To invoke a build and run tests: ./gradlew build
  • To skip tests: ./gradlew build -x test

Iceberg table support is organized in library modules:

  • iceberg-common contains utility classes used in other modules
  • iceberg-api contains the public Iceberg API
  • iceberg-core contains implementations of the Iceberg API and support for Avro data files, this is what processing engines should depend on
  • iceberg-parquet is an optional module for working with tables backed by Parquet files
  • iceberg-orc is an optional module for working with tables backed by ORC files (experimental)
  • iceberg-hive is an implementation of iceberg tables backed by hive metastore thrift client

This project Iceberg also has modules for adding Iceberg support to processing engines:

  • iceberg-spark is an implementation of Spark's Datasource V2 API for Iceberg (use iceberg-runtime for a shaded version)
  • iceberg-data is a client library used to read Iceberg tables from JVM applications
  • iceberg-pig is an implementation of Pig's LoadFunc API for Iceberg

Compatibility

Iceberg's Spark integration is compatible with the following Spark versions:

Iceberg versionSpark version
0.2.0+ *2.3.0
0.3.0+ *2.3.2
master branch2.4.x

An asterisk (*) refers to releases under the now deprecated Netflix/iceberg repo.