Skip to content

mojo-parquet

mojo-parquet is a from-scratch Apache Parquet library for Mojo 1.1.

The runtime reads and writes a Parquet file: the footer, row groups, column chunks, and data pages. A code generator turns a JSON Schema document into a Mojo struct. None of this code wraps a C, C++, or Rust Parquet library.

Page What it explains
Why Parquet Columns, pages, and why the file is laid out that way.
Instructions Install, import, and run the tests.
Examples A table and a generated struct.
Techniques Encodings, compression, statistics, and limits.
Test data The files checked into this repository.