pub fn decode_batch<T: DeserializeOwned>(
metadata: &HashMap<String, String>,
record_batch: &RecordBatch,
fields: &[JsonFieldSpec],
fallback_type_name: Option<&'static str>,
) -> Result<Vec<T>, EncodingError>Expand description
Decodes typed records from an Arrow record batch produced by encode_batch.
ยงErrors
Returns an error if a required column is missing, has the wrong type, contains invalid JSON, or cannot be deserialized into the target type.