Recording Export to Parquet¶
caliper export --to parquet writes a recording's series and tables as Parquet files for analysis in other tools.
| Field | Value |
|---|---|
| ID | STR-28 |
| Status | Planned |
| Scope | Peripheral |
| Pillar | Live Data, Streaming and Recordings |
| Sprint | 4 |
| Depends On | Recordings on MCAP (STR-12) |
| Unblocks | None |
| Docs | None |
| Branches | None |
| Design | None |
Coverage Ledger¶
design/recordings.mdon the branchsprint4, under Exporting to Parquet. caliper export <recording> --to parquet with --out, --view and --arrays writes items, series, text, controls and optional array tables (2 days).design/recordings.mdon the branchsprint4, under Size. Recordings take 25 builder days in increment 7: C++ recorder and reader 18, Caliper LIB 2, browser reader 3, Parquet export 2; the app's recorder is in increment 8 and the hub's moved to sprint 5.design/recordings.mdon the branchsprint4, under Decisions. Decisions: MCAP and .mcap, a recorded item is the live frame, custom encoding caliper.wire3, index as attachments, padding record, mixed compression, segments with a manifest, ACID with a one-second sync, own recovery, payloads in files, logarithmic thinning, keyframes, Parquet export, one cursor per page, no automatic deletion, recording only when started, caliper open starts the app.design/roadmap.mdon the branchsprint4, under Caliper CLI. The Caliper CLI subsection is rewritten on the older base; recordings add caliper open and caliper export in recordings.md.design/sprint-4.mdon the branchsprint4, under 7. Timelines, recordings on MCAP and the scrubber. Recordings on MCAP: recorder and reader in C++, caliper.record, browser reader, timeline and keyframe index, commit points and tailing, writer lock, segments with a manifest, recovery, thinning and caliper export --to parquet (25 days).- Orchestrators' notes,
_notes/HANDOFF-sprint4.md. Remaining recorder work: the ThreadSanitizer build documentation, the TypeScript reader, the Parquet recommendation and the Windows question. - Orchestrators' notes,
s4-rec/STATUS.md. Parquet export: DuckDB's writer already linked into the app is compared with Apache Arrow and a writer of our own; it needs the Recording items, frames and timelines.