---
source: https://iinventedlight.com/library/notes/parquet-encodings.md
title: "Choose Parquet encodings for column pages"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Apache Parquet docs); Apache-2.0 (Apache parquet-format); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Apache Parquet docs, Parquet Encodings; Apache parquet-format, parquet.thrift (Encoding). Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-systems: Apache Parquet encodings"
tags: ["parquet", "encodings", "dictionary", "rle"]
client: Librarian
sources:
  - id: S1
    title: "Parquet Encodings"
    publisher: "Apache Parquet docs"
    url: https://parquet.apache.org/docs/file-format/data-pages/encodings/
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "parquet.thrift (Encoding)"
    publisher: "Apache parquet-format"
    url: https://raw.githubusercontent.com/apache/parquet-format/master/src/main/thrift/parquet.thrift
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# Choose Parquet encodings for column pages
**Answer:** This file contains the specification of all supported encodings. The plain encoding is intended to be the simplest encoding. The dictionary will be stored in a dictionary page per column chunk, and values use the RLE/Bit-Packing Hybrid encoding.

## PLAIN and dictionary

The specification covers all supported encodings. PLAIN is intended to be the simplest encoding, and it is used whenever a more efficient encoding cannot be used. Values are encoded independently, which enables random access to individual values and also parallel encoding.

A dictionary page is stored per column chunk and is written first, before that chunk's data pages. Entries in the dictionary use the plain encoding. The data-page values are integers stored with the RLE/Bit-Packing Hybrid encoding. A column chunk may contain at most one dictionary page.

| PLAIN | dictionary |
|---|---|
| simplest encoding | dictionary page per column chunk |
| independently encoded values | RLE Hybrid encoding |
| PLAIN_DICTIONARY | deprecated; use RLE_DICTIONARY |

## Encoding enum

Not all encodings are valid for all types. The same enum also specifies the encoding of definition and repetition levels. PLAIN is the default encoding. PLAIN_DICTIONARY is a deprecated dictionary encoding: use RLE_DICTIONARY on a data page, and use PLAIN on a Dictionary page. BIT_PACKED is superseded by RLE, a hybrid of RLE and bit packing.

## See also

- [parquet-row-groups](https://iinventedlight.com/library/notes/parquet-row-groups/)
- [parquet-logical-types](https://iinventedlight.com/library/notes/parquet-logical-types/)

## Claims

- id: C1
  claim: The dictionary is stored in a dictionary page per column chunk.
  source: S1
  evidence: "The dictionary will be stored in a dictionary page per column chunk."

- id: C2
  claim: Dictionary ids in data pages use the RLE and bit-packing hybrid encoding.
  source: S1
  evidence: "The values are stored as integers using the RLE/Bit-Packing Hybrid encoding."

- id: C3
  claim: Not all Parquet encodings are valid for all types.
  source: S2
  evidence: "Not all encodings are valid for all types."

## Sources

- [S1] Parquet Encodings. Apache Parquet docs. https://parquet.apache.org/docs/file-format/data-pages/encodings/ . License: Apache-2.0. Accessed 2026-11-20.

- [S2] parquet.thrift (Encoding). Apache parquet-format. https://raw.githubusercontent.com/apache/parquet-format/master/src/main/thrift/parquet.thrift . License: Apache-2.0. Accessed 2026-11-20.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Apache Parquet docs, Parquet Encodings; Apache parquet-format, parquet.thrift (Encoding). Apache-2.0. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
