pub fn format_arrow_ipc(result: ProcessedResult) -> Result<Vec<u8>, SofError>Expand description
Encodes a ProcessedResult as an Arrow IPC stream
(application/vnd.apache.arrow.stream).
Schema inference and type mapping match format_parquet exactly, so the
columnar outputs always agree. Batches are written incrementally and the
stream carries its schema in-band, so consumers (DuckDB, pyarrow, polars,
pandas) ingest live query results without any client-side parsing.