pub fn decode_futures_contract_batch(
metadata: &HashMap<String, String>,
record_batch: &RecordBatch,
) -> Result<Vec<FuturesContract>, EncodingError>Expand description
Helper function to decode FuturesContract from RecordBatch
(Cannot implement DecodeFromRecordBatch trait due to Into<Data> bound)
ยงErrors
Returns an EncodingError if the RecordBatch cannot be decoded.