load_recording
Decode MCAP recordings into DuckDB for SQL queries. Filter by topics and time range to reduce load time.
Instructions
Decode an MCAP file and load its data into DuckDB for SQL querying. This decodes all messages and may take seconds to tens of seconds depending on file size. You must call this before running queries. For large files, use 'topics' to load only the topics you need and 'start_time'/'end_time' to narrow the time window — this significantly reduces both load time and memory usage. Set an alias for multi-recording comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| alias | No | ||
| topics | No | ||
| end_time | No | ||
| downsample | No | ||
| start_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |