<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Iceberg_File_Format_API</id>
	<title>Iceberg File Format API - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Iceberg_File_Format_API"/>
	<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Iceberg_File_Format_API&amp;action=history"/>
	<updated>2026-12-06T00:07:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://openlakehouse.io/w/index.php?title=Iceberg_File_Format_API&amp;diff=69&amp;oldid=prev</id>
		<title>Open Lakehouse Wiki sync: Sync from open-lakehouse/wiki@9783fe6</title>
		<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Iceberg_File_Format_API&amp;diff=69&amp;oldid=prev"/>
		<updated>2026-11-22T21:29:54Z</updated>

		<summary type="html">&lt;p&gt;Sync from open-lakehouse/wiki@9783fe6&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox concept&lt;br /&gt;
| name            = Iceberg File Format API&lt;br /&gt;
| also_known_as   = FormatModel API; pluggable file formats in Iceberg&lt;br /&gt;
| field           = Table formats, data file input and output&lt;br /&gt;
| introduced      = Apache Iceberg 1.11.0 (May 2026)&lt;br /&gt;
| key_parts       = &amp;lt;code&amp;gt;FormatModel&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FormatModelRegistry&amp;lt;/code&amp;gt;, read and write builders, compatibility test kit&lt;br /&gt;
| implementations = [[Apache Iceberg]] Java library (Parquet, ORC, Avro; Spark, Flink, Arrow and generic object models)&lt;br /&gt;
| related         = [[Apache Parquet]], [[Apache ORC]], [[Open table format]], [[Logical type]]&lt;br /&gt;
}}&lt;br /&gt;
{{Verified|2026-11-22|Apache Iceberg source at tags apache-iceberg-1.10.0, 1.11.0 and 1.12.0, the 1.11.0 and 1.12.0 release notes, the File Format API announcement post, GitHub issue apache/iceberg#12225 and its pull requests, and the dev@iceberg.apache.org discussion and vote threads}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Iceberg File Format API&amp;#039;&amp;#039;&amp;#039; is a set of Java interfaces in [[Apache Iceberg]] that puts every data file format behind one common reader and writer contract, so that engines read and write Iceberg data files through a registry instead of format-specific code. A format supplies a &amp;lt;code&amp;gt;FormatModel&amp;lt;/code&amp;gt;, which pairs a file format with an in-memory object model (for example Spark rows or Flink rows) and builds readers and writers for it; the &amp;lt;code&amp;gt;FormatModelRegistry&amp;lt;/code&amp;gt; stores the available models.&amp;lt;ref name=&amp;quot;blog&amp;quot;&amp;gt;{{Cite web |url=https://iceberg.apache.org/blog/apache-iceberg-file-format-api/ |title=Introducing the Apache Iceberg File Format API |publisher=Apache Software Foundation |date=2026-02-20 |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; The API shipped in Iceberg 1.11.0 with implementations for Parquet, ORC and Avro.&amp;lt;ref name=&amp;quot;pr15254&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/15254 |title=Core, Data: Implementation of AvroFormatModel (#15254) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;releases&amp;quot;&amp;gt;{{Cite web |url=https://iceberg.apache.org/releases/ |title=Releases (1.11.0 and 1.12.0 release notes) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Support for additional formats, such as Vortex and Lance, is discussed and prototyped but is not part of any release.&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
The File Format API is a released part of the Iceberg Java library, not a change to the Iceberg table specification.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Shipped.&amp;#039;&amp;#039;&amp;#039; The 1.11.0 release notes, for the release of 19 May 2026, list the File Format API interfaces and the Parquet, ORC and Arrow format model implementations.&amp;lt;ref name=&amp;quot;releases&amp;quot; /&amp;gt; The &amp;lt;code&amp;gt;org.apache.iceberg.formats&amp;lt;/code&amp;gt; package is absent at tag apache-iceberg-1.10.0 and present at 1.11.0 and 1.12.0.&amp;lt;ref name=&amp;quot;javadoc111&amp;quot;&amp;gt;{{Cite web |url=https://iceberg.apache.org/javadoc/1.11.0/org/apache/iceberg/formats/package-summary.html |title=Package org.apache.iceberg.formats (Iceberg 1.11.0 Javadoc) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Iceberg 1.12.0, released on 29 September 2026, carries the same package.&amp;lt;ref name=&amp;quot;releases&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;javadoc112&amp;quot;&amp;gt;{{Cite web |url=https://iceberg.apache.org/javadoc/1.12.0/org/apache/iceberg/formats/FormatModel.html |title=Interface FormatModel (Iceberg 1.12.0 Javadoc) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Not shipped.&amp;#039;&amp;#039;&amp;#039; No new data file format has been added through the API. At 1.12.0 the Java &amp;lt;code&amp;gt;FileFormat&amp;lt;/code&amp;gt; enumeration lists Puffin, ORC, Parquet, Avro and the metadata JSON file, and Appendix A of the table spec defines type mappings only for Avro, Parquet and ORC.&amp;lt;ref name=&amp;quot;fileformat&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/blob/apache-iceberg-1.12.0/api/src/main/java/org/apache/iceberg/FileFormat.java |title=FileFormat.java (apache-iceberg-1.12.0) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;icespec&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/blob/apache-iceberg-1.12.0/format/spec.md |title=Iceberg Table Spec (format/spec.md at apache-iceberg-1.12.0) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; A proof-of-concept pull request for Lance through the API was opened in March 2026 as a draft not intended for merge, and was closed.&amp;lt;ref name=&amp;quot;lance&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/15751 |title=Core, Data, Lance: Add Lance file format support via File Format API (#15751) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Documentation.&amp;#039;&amp;#039;&amp;#039; As of November 2026 the versioned Iceberg documentation has no page for the API; a pull request proposing one is open.&amp;lt;ref name=&amp;quot;docspr&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/18587 |title=Docs: Add a File Format API page (#18587) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Motivation ==&lt;br /&gt;
Before the API, Iceberg&amp;#039;s Java code supported Parquet, Avro and ORC through format-specific readers and writers in each engine integration. The proposal issue states that new version 3 features, such as new column types and default values, need changes at the file format level, and that because these changes were made separately per format, not every feature was available for every format. It also names emerging formats, Vortex and Lance, as candidates for use cases such as fast random access.&amp;lt;ref name=&amp;quot;issue&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/issues/12225 |title=File Format API (#12225) |publisher=GitHub, apache/iceberg |date=2025-02-11 |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The announcement post describes the old code as fragmented: Spark, Flink and the generic Java implementation each kept their own format-specific readers, writers and feature handling, with large branching code paths, so that projection, filtering and delete file handling needed separate work for each format and engine pair.&amp;lt;ref name=&amp;quot;blog&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
A &amp;lt;code&amp;gt;FormatModel&amp;amp;lt;D, S&amp;amp;gt;&amp;lt;/code&amp;gt; names the &amp;lt;code&amp;gt;FileFormat&amp;lt;/code&amp;gt; it handles, the Java class of the rows it produces and consumes (&amp;lt;code&amp;gt;D&amp;lt;/code&amp;gt;), and the class of the engine schema (&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt;). It returns a &amp;lt;code&amp;gt;ReadBuilder&amp;lt;/code&amp;gt; for an input file and a &amp;lt;code&amp;gt;ModelWriteBuilder&amp;lt;/code&amp;gt; for an output file.&amp;lt;ref name=&amp;quot;javadoc112&amp;quot; /&amp;gt; Engines can define their own object models and register them, which lets custom in-memory representations use Iceberg&amp;#039;s file format handling.&amp;lt;ref name=&amp;quot;javadoc112&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Engines then ask the registry for a builder by file format and row class, instead of branching on the format themselves.&amp;lt;ref name=&amp;quot;blog&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
// Builders obtained from the registry (method names as given in the announcement post)&lt;br /&gt;
FormatModelRegistry.readBuilder(fileFormat, clazz, inputFile);&lt;br /&gt;
FormatModelRegistry.dataWriteBuilder(fileFormat, clazz, outputFile);&lt;br /&gt;
FormatModelRegistry.equalityDeleteWriteBuilder(fileFormat, clazz, outputFile);&lt;br /&gt;
FormatModelRegistry.positionDeleteWriteBuilder(fileFormat, clazz, outputFile);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At 1.12.0 the Iceberg source tree contains format models for Avro, Parquet and ORC, a generic model for Iceberg records, an Arrow model for vectorized reads, and Spark and Flink models.&amp;lt;ref name=&amp;quot;releases&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;pr15254&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;pr15329&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/15329 |title=Core, Data, Flink: Moving Flink to use the new FormatModel API (#15329) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;pr15328&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/15328 |title=Core, Data, Spark: Moving Spark to use the new FormatModel API (#15328) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; The position delete writer builder is documented as applying to format version 2 tables only, since version 3 tables must not add position delete files and use [[Deletion vector|deletion vectors]] instead.&amp;lt;ref name=&amp;quot;pr15980&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/15980 |title=Docs: Document that positionDeleteWriteBuilder is for format-version 2 tables only (#15980) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;icespec&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compatibility test kit ===&lt;br /&gt;
The announcement post called a Technology Compatibility Kit (TCK) the most important next step, to validate correctness, type support and compatibility of new format implementations.&amp;lt;ref name=&amp;quot;blog&amp;quot; /&amp;gt; A first TCK was merged in March 2026 and is part of 1.11.0, and further TCK tests (for example for the writer builder) were added for 1.12.0.&amp;lt;ref name=&amp;quot;tck&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/15441 |title=Data, Spark, Flink: Add TCK for File Format API (#15441) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;tck2&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/16575 |title=Data: Add TCK for Writer builder in FileFormat API (#16575) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
Péter Váry opened the proposal issue and a discussion thread on the Iceberg dev mailing list on 11 February 2025, with a linked design document.&amp;lt;ref name=&amp;quot;issue&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;discuss&amp;quot;&amp;gt;{{Cite web |url=https://lists.apache.org/thread/ovyh52m2b6c1hrg4fhw3rx92bzr793n2 |title=[DISCUSS] FileFormat API proposal |publisher=dev@iceberg.apache.org |date=2025-02-11 |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; The first implementation was a single large pull request that changed the interfaces, the format implementations and the engines together; the interfaces were later split into a separate pull request.&amp;lt;ref name=&amp;quot;pr12298&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/12298 |title=Core: Interface based DataFile reader and writer API (#12298) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In May 2025 a vote on the proposal was called on the dev list; it listed the expected results as the same performance, a formal API, simpler engine and format code, better testability, and the ability to introduce or deprecate file formats with little disruption.&amp;lt;ref name=&amp;quot;vote&amp;quot;&amp;gt;{{Cite web |url=https://lists.apache.org/thread/m49y4w9xz9l92nydnyoxrpwhz9k7d3zj |title=[VOTE] File Format API |publisher=dev@iceberg.apache.org |date=2025-05-15 |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Review continued on the design document and pull requests.&lt;br /&gt;
&lt;br /&gt;
On 6 February 2026 Ryan Blue wrote on the dev list that the API was ready to be committed, starting with the interfaces pull request, with the aim of including it in the next release to help unblock the DataFusion Comet integration.&amp;lt;ref name=&amp;quot;discuss&amp;quot; /&amp;gt; The interfaces were merged that day, and the Spark and Flink integrations followed on 17 and 18 February 2026.&amp;lt;ref name=&amp;quot;pr15329&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;pr12774&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/iceberg/pull/12774 |title=Core, Data: File Format API interfaces (#12774) |publisher=GitHub, apache/iceberg |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;pr15328&amp;quot; /&amp;gt; The project announced the finalized API on 20 February 2026, and it shipped in 1.11.0.&amp;lt;ref name=&amp;quot;blog&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;releases&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned work ==&lt;br /&gt;
The announcement post lists next steps that were not part of the release: moving the Spark Comet reader to a format model so it can live in the Comet repository, a full Vortex integration, completing the TCK, and column families (vertically split files that allow partial updates without rewriting whole files).&amp;lt;ref name=&amp;quot;blog&amp;quot; /&amp;gt; These are plans, not shipped features.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Apache Iceberg]]&lt;br /&gt;
* [[Apache Parquet]]&lt;br /&gt;
* [[Logical type]]&lt;br /&gt;
* [[Deletion vector]]&lt;br /&gt;
* [[Open table format]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Navbox open lakehouse}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Concepts]]&lt;br /&gt;
[[Category:Glossary terms]]&lt;br /&gt;
[[Category:Table formats]]&lt;/div&gt;</summary>
		<author><name>Open Lakehouse Wiki sync</name></author>
	</entry>
</feed>