Skip to main content

decode_statistics_batch

Function decode_statistics_batch 

Source
pub fn decode_statistics_batch(
    metadata: &HashMap<String, String>,
    record_batch: &RecordBatch,
) -> Result<Vec<DatabentoStatistics>, EncodingError>
Expand description

Decodes a RecordBatch into a vector of DatabentoStatistics.

ยงErrors

Returns an EncodingError if decoding fails.