Skip to main content

decode_cfd_batch

Function decode_cfd_batch 

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

Helper function to decode Cfd from RecordBatch (Cannot implement DecodeFromRecordBatch trait due to Into<Data> bound)

ยงErrors

Returns an EncodingError if the RecordBatch cannot be decoded.