Skip to main content

Module arrow_dtype

Module arrow_dtype 

Source
Expand description

§ArrowDType Module - Arrow type tagging for self-documenting data

Unified Minarrow representations of supported Apache Arrow data types.

§Overview

  • Covers integer, floating-point, boolean, string, dictionary-encoded, and optional temporal types
    (date, time, duration, timestamp, interval).
  • Each Minarrow array type implements arrow_type() to return its matching ArrowType.
  • Enables consistent Arrow FFI compatibility without requiring the full Arrow type system.

§CategoricalIndexType

  • Specifies the integer size of dictionary keys for categorical arrays.
  • Supports multiple unsigned integer widths depending on feature flags.

§Display

  • Human-readable type names are produced for all variants.
  • Temporal types include their units in the rendered output.

§Interoperability

  • Implements a focused subset of the public Arrow specification.
  • Maintains compatibility while keeping Minarrow minimal.
  • The Minarrow crate is not affiliated with the Apache Arrow project.
  • The term Apache Arrow is a trademark of the Apache Software Foundation.
  • The term Arrow is used here under fair use to implement the public FFI compatibility standard,
    in accordance with the official guidance: https://www.apache.org/foundation/marks/.

See ./LICENSE for more information.

Enums§

ArrowType
ArrowType
CategoricalIndexType
CategoricalIndexType