pub fn extract_attributes_from_map( array: &StructArray, idx: usize, column_name: &str, ) -> Vec<Attribute>