comphead opened a new issue, #5850: URL: https://github.com/apache/arrow-datafusion/issues/5850
### Is your feature request related to a problem or challenge? Followup on https://github.com/apache/arrow-datafusion/pull/5748/files#r1152231567 Currently its too wordy to set a nullable flag for `DFField`, this operation is pretty popular. One of the implementations is ``` let right_fields_nullable: Vec<DFField> = right_fields .iter() .map(|f| { let field = f.field().clone().with_nullable(true); if let Some(q) = f.qualifier() { DFField::from_qualified(q, field) } else { DFField::from(field) } }) .collect(); ``` The idea is to make a separate method `.with_nullable(bool)` to make such operation more readable ### Describe the solution you'd like make a separate method `.with_nullable(bool)` to make such operation more readable ### Describe alternatives you've considered Not doing this ### Additional context None -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
