← All notes

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

Sources

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

Permanent ID: iil:note:ah3mzgwk

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.},
}

Markdown

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.

All artifact files (JSON index)

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.