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
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.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Apache Parquet docs, Parquet Encodings; Apache parquet-format, parquet.thrift (Encoding). Apache-2.0.
Cite this
iinventedlight. 2026. "Choose Parquet encodings for column pages." iinventedlight Library, iil:note:ah3mzgwk, version of 2026-11-20. https://iinventedlight.com/library/notes/parquet-encodings/. License: CC-BY-4.0.
@misc{iil_note_ah3mzgwk,
author = {{iinventedlight}},
title = {{Choose Parquet encodings for column pages}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/parquet-encodings/},
note = {Permanent ID iil:note:ah3mzgwk. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- parquet-encodings.table.json (table; CC-BY-4.0)
- parquet-encodings.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/parquet-encodings.md.