pub fn extract_column<'a, T: Array + 'static>( cols: &'a [ArrayRef], column_key: &'static str, column_index: usize, expected_type: DataType, ) -> Result<&'a T, EncodingError>