pub fn as_map_array(array: &dyn Array) -> Result<&MapArray>