Skip to content

mojo-arrow

mojo-arrow is a from-scratch Apache Arrow library for Mojo 1.1.

The runtime reads and writes the Arrow columnar format, the IPC stream, the IPC file, tensors, and the Flight protocol messages. A code generator turns a JSON Schema document or an Arrow schema into a Mojo struct. None of this code wraps a C, C++, or Rust Arrow library.

Page What it explains
Why Arrow Columnar values, IPC, and Flight.
Instructions Install, import, and run the tests.
Examples A record batch and a generated struct.
Techniques Layout, alignment, compression, and limits.
Test data The streams checked into this repository.