mix arrow.inspect (Arrow v0.1.0)

Copy Markdown

Prints a summary of an Arrow IPC file or stream: format, schema (field names, types, nullability), per-batch row counts, and dictionary sizes.

mix arrow.inspect path/to/data.arrow

The format is auto-detected: IPC files start with the ARROW1 magic, anything else is decoded as a stream. Exits non-zero with a readable message on malformed or unsupported input.

Example output:

format: file
schema:
  d: dictionary<utf8, indices=int8, id=0> (nullable)
batches: 1, 6 rows total
  [0] 6 rows
dictionaries:
  [0] 3 values, referenced by "d"