pub fn extract_column_by_name<'a, T: Array + 'static>(
record_batch: &'a RecordBatch,
column_key: &'static str,
expected_type: DataType,
) -> Result<&'a T, EncodingError>Expand description
Extracts a column by name.
ยงErrors
Returns an error if the column is missing or has the wrong type.