fn set_object_scalar_field_type( field_types: &mut IndexMap<String, InferredType>, key: &str, ftype: DataType, ) -> Result<(), ArrowError>