arrow_cast::cast::map

Function key_field

Source
pub(crate) fn key_field(entries_field: &FieldRef) -> Option<FieldRef>
Expand description

Gets the key field from the entries of a map. For all other types returns None.