pub fn parquet_with(
recorder: &Recorder,
about: &[(&str, &str)],
) -> Result<Vec<u8>, SimError>Expand description
The recorded rows as parquet() writes them, with the pairs of about, in its order, after
the program’s three in the footer’s key-value metadata: such as the motor catalog’s date and
how far to trust the recording, as super::json_with carries them beside its rows. Each is a
KeyValue of parquet.thrift, its key and its value UTF-8 strings. Keys other programs read
as their own, such as Apache Arrow’s ARROW:schema or pandas’ pandas, are the caller’s to
avoid: a reader decodes them, and may refuse the file when they hold something else.
Needs the parquet feature. Returns the file’s bytes; the caller writes them.
§Errors
As parquet(); also SimError::Unsupported for a key named tool, tool_version or
designation, or given twice: a key written twice, which readers that collect the pairs into
a map would keep only one of.