Skip to main content

decode_custom_batches_to_data

Function decode_custom_batches_to_data 

Source
pub fn decode_custom_batches_to_data(
    batches: Vec<RecordBatch>,
    use_ts_event_for_ts_init: bool,
) -> Result<Vec<Data>>
Expand description

Decodes multiple RecordBatches (e.g. from custom data files) into a single Vec<Data>. Optionally replaces ts_init column with ts_event before decoding each batch.

ยงErrors

Returns an error if any batch fails to decode.