DevTools Logo

Arrow IPC Stream Viewer

Arrow IPC Stream Viewer

Inspect Apache Arrow IPC and Feather data: schema, row count and the first 20 rows.

Runs in your browser
Try an example

JSON records

1 line · 47 chars

JSON array of objects, or choose an Arrow IPC / Feather file (up to 64 MiB). Files are read in this browser.

Schema and rows

Paste JSON records or open an Arrow file

Results update as you type. Nothing leaves your browser.

Uses Apache Arrow to build tables from JSON records or parse local IPC/Feather buffers entirely client-side. View column types, row count, and the first 20 rows.

Examples

JSON schema plus bounded rows

Input
await inspectArrowJson('[{"id":1,"name":"Ada"},{"id":2,"name":"Grace"}]', 1)
Output
{ columns: [{ id: float }, { name: utf8 }], rowCount: 2, rows: [{ id: 1, name: "Ada" }] }

Types map to display names and rows holds only the first record.

Schema-only preview

Input
await inspectArrowJson('[{"name":"Ada"},{"name":"Grace","score":3}]', 0)
Output
{ columns: ["name", "score"], rowCount: 2, rows: [] }

Missing fields union into the schema as null and limit 0 skips row reads.

About this tool

Arrow IPC Stream Viewer previews columnar data with inspectArrowJson(input, limit = 20) and inspectArrowIPC(input, limit = 20): JSON records compile through tableFromArrays while binary buffers parse through tableFromIPC, both returning schema columns, rowCount, and bounded rows.

Schema mapping runs through displayType: Float64 and Float32 map to float, Int32 to int, Utf8 and LargeUtf8 to utf8, Bool to bool, dictionary-encoded UTF8 collapses to utf8, and anything unmapped lowercases — so [{ id: 1, name: Ada }] reports [{ name: id, type: float }, { name: name, type: utf8 }].

Behavior is bounded and explicit: missing fields become null, limit 0 returns schema only with empty rows, non-integer or negative limits throw, and every failure rewraps as Could not parse JSON, array of objects, at least one column, Unsupported value type, non-empty Arrow IPC file, or Could not read Arrow IPC data.

How to use this tool

  1. Paste JSON records

    Provide an array of objects — numbers, strings, and booleans are supported.

  2. Or load IPC bytes

    Pass a non-empty ArrayBuffer holding an Arrow IPC stream or file.

  3. Set the preview limit

    Use limit 0 for schema only or a positive integer to bound returned rows.

  4. Read schema and rows

    Check mapped column names and types plus rowCount before full ingestion.

Use cases

Previewing Arrow uploads

Confirm columns, types, and row counts before launching a full pipeline read.

Checking JSON-to-Arrow mapping

Verify strings surface as utf8 and numbers as float in the schema plan.

Handling corrupt payloads

Surface malformed JSON and truncated IPC buffers as readable errors.

Common mistakes

Mistake:Passing a bare object instead of an array.

Fix:The viewer requires an array of objects — wrap single records in [ ] first.

Mistake:Passing limit 0 and expecting rows.

Fix:Limit 0 is schema-only by design and always returns an empty rows array.

Mistake:Feeding nested objects and expecting a column.

Fix:Only number, string, and boolean columns are supported — flatten nested values first.

Frequently asked questions

What does this tool do?

It previews Arrow data with inspectArrowJson for JSON record arrays and inspectArrowIPC for binary buffers, returning mapped schema columns, rowCount, and limit-bounded rows.

How are column types and limits applied?

Numbers map to float, strings to utf8, booleans to bool, dictionary UTF8 collapses to utf8, missing fields become null, limit 0 returns schema only, and other limits cap returned rows at rowCount.

Is my data uploaded or stored?

No. Table building, IPC parsing, and row preview run entirely in your browser.

Why an array-of-objects or read error?

Only non-empty arrays of flat number, string, and boolean objects convert — nested values throw Unsupported value type, and empty or truncated IPC buffers throw before parsing.

References & standards