Apache Parquet
| Developer | Apache Software Foundation (originally Twitter and Cloudera) |
|---|---|
| Latest release | parquet-format 2.14.0 (2026-09-11) |
| Written in | Thrift (format definition); Java (parquet-java) |
| Type | Columnar data file format |
| License | Apache License 2.0 |
| Website | parquet.apache.org |
| Repository | github.com/apache/parquet-format |
| Related | Apache Iceberg, Delta Lake, Apache Hudi, Open table format |
Apache Parquet is an open source, column-oriented data file format for efficient storage and retrieval of analytic data. Parquet stores the values of each column together and supports per-column compression and encoding, and it is implemented in many programming languages and analytics tools.[1] In an open lakehouse, Parquet files commonly hold the table data, and open table formats such as Apache Iceberg, Delta Lake and Apache Hudi add table metadata and transactions on top of Parquet files.
Specification and implementations
The Apache Parquet project separates the format from its libraries. The parquet-format repository holds the official specification and the Thrift definitions of the file metadata (parquet.thrift); it contains no code for reading or writing files. The parquet-java repository, formerly named parquet-mr, holds the Java libraries and tools.[1] Other implementations include Apache Arrow (C++, Go and Rust), DuckDB, ClickHouse, cuDF and Polars, and the project publishes a table of which format features each one supports.[2]
How it works
File layout
An Apache Parquet file begins and ends with the 4-byte magic number PAR1. Between them come the column chunks, then the file metadata, then a 4-byte little-endian length of the metadata. The metadata records where every column chunk starts. Because it is written after the data, a writer can produce a file in a single pass; a reader first reads the footer, then reads only the column chunks it needs.[3]
Row groups, column chunks and pages
A Parquet file contains one or more row groups, each a horizontal slice of the rows. A row group holds exactly one column chunk per column, and each column chunk is stored contiguously in the file. Column chunks are divided into pages, the smallest unit of encoding and compression.[4]
| Level | Contains | Unit of |
|---|---|---|
| File | One or more row groups and the footer metadata | Whole-file reads |
| Row group | One column chunk per column | Parallel processing of a file |
| Column chunk | One or more pages for one column | Column input and output |
| Page | Encoded, optionally compressed values | Encoding and compression |
Nested data
Apache Parquet was designed for nested data from the start. It uses the record shredding and assembly algorithm from Google's Dremel paper, encoding nested structure with definition and repetition levels instead of flattening nested names.[5][6] Null values are not stored in the data; nullness is recorded in the run-length encoded definition levels.[7]
Features
Types
Apache Parquet keeps a small set of physical types (such as INT32, INT64, DOUBLE and BYTE_ARRAY) and uses logical type annotations to say how to interpret them. For example, a string is a BYTE_ARRAY with a STRING annotation.[8] The specification also defines a Variant type for semi-structured data such as JSON, encoded as a value and a metadata binary so that nested fields can be read by path.[9]
Encodings and compression
Parquet defines encodings including plain, dictionary, run-length/bit-packing hybrid, several delta encodings, byte stream split and ALP (adaptive lossless floating-point).[10] Data and dictionary pages can be compressed with one of several codecs, and the codec can be chosen per column.[11][5]
Statistics, page index and Bloom filters
Readers can skip data using metadata stored in the file. Column statistics hold minimum and maximum values, and dictionaries let readers rule out values inside that range. An optional Bloom filter answers "definitely not present" or "probably present" for a value, which helps on high-cardinality columns.[12] The optional page index stores per-page statistics so that a reader can skip individual pages without reading every page header.[13]
History
Parquet originated as a joint effort of Twitter and Cloudera; the parquet-format README carries the notice "Copyright 2013 Twitter, Cloudera and other contributors".[6] The project's stated aim was to make compressed, efficient columnar storage available to any project in the Apache Hadoop ecosystem without favouring one processing framework.[5]
Parquet entered the Apache Incubator on 20 May 2014 and graduated on 22 April 2015.[14] The Apache Software Foundation announced Parquet as a top-level project on 27 April 2015.[15]
parquet-format 2.14.0 was released on 11 September 2026. It added chronological ordering of INT96 timestamps, a FILE logical type and the ALP encoding.[16]
Use in an open lakehouse
Apache Parquet defines single files, organised internally into row groups, column chunks and pages.[4] Grouping many files into one table, with commits and snapshots, is the job of an open table format. The Apache Iceberg specification lists Parquet as one of its data file formats, alongside Avro and ORC.[17] Delta Lake, Iceberg and Apache Hudi all store Parquet data files, which is what allows Delta Lake's UniForm feature to expose one copy of the data through several table formats.[18]
Engine support
Apache Spark reads and writes Parquet through a built-in data source.[19] DuckDB reads and writes Parquet files directly.[20] The Parquet implementation status page lists feature support for Arrow C++, parquet-java, Arrow Go, Arrow Rust, ClickHouse, cuDF, hyparquet, DuckDB, Polars and DataHaskell.[2]
Limitations
Apache Parquet implementations do not all support the same features of the format, so a file that uses a newer encoding or logical type may not be readable by every tool.[1][2] The specification keeps older representations for compatibility: the ConvertedType annotation is deprecated, but writers must still write it next to LogicalType so that old readers work.[8] The INT96 timestamp type is deprecated, yet the project notes it was still common in files produced as of 2024.[2]
See also
References
- ↑ 1.0 1.1 1.2 Overview. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ 2.0 2.1 2.2 2.3 Implementation status. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ File Format. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ 4.0 4.1 Concepts. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ 5.0 5.1 5.2 Motivation. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ 6.0 6.1 parquet-format README. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Nulls. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ 8.0 8.1 Logical Types. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Variant Type. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Encodings. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Compression. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Bloom Filter. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Page Index. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Parquet Project Incubation Status. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ The Apache Software Foundation Announces Apache Parquet as a Top-Level Project. Apache Software Foundation, 2015-04-27.Retrieved 2026-11-22.
- ↑ 2.14.0. Apache Software Foundation, 2026-09-11.Retrieved 2026-11-22.
- ↑ Iceberg Table Spec. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Universal Format (UniForm). Delta Lake project.Retrieved 2026-11-22.
- ↑ Parquet Files. Apache Software Foundation.Retrieved 2026-11-22.
- ↑ Reading and Writing Parquet Files. DuckDB.Retrieved 2026-11-22.