Skip to main content

statistics_to_arrow_record_batch

Function statistics_to_arrow_record_batch 

Source
pub fn statistics_to_arrow_record_batch(
    data: &[DatabentoStatistics],
) -> Result<RecordBatch, EncodingError>
Expand description

Encodes a vector of DatabentoStatistics into an Arrow RecordBatch.

ยงErrors

Returns an error if data is empty or encoding fails.