Skip to main content

decode_custom_from_arrow

Function decode_custom_from_arrow 

Source
pub fn decode_custom_from_arrow(
    type_name: &str,
    metadata: &HashMap<String, String>,
    record_batch: RecordBatch,
) -> Result<Option<Vec<Data>>, Error>
Expand description

Decodes a RecordBatch into Vec<Data> using the registered decoder.

ยงErrors

Returns an error if the type is not registered or decoding fails.