alamb commented on code in PR #7217:
URL: https://github.com/apache/arrow-rs/pull/7217#discussion_r1984926531
##########
arrow-array/src/builder/struct_builder.rs:
##########
@@ -372,6 +372,11 @@ impl StructBuilder {
self.field_builders[i].as_any_mut().downcast_mut::<T>()
}
+ /// Returns a reference to field builders
+ pub fn field_builders(&self) -> &[Box<dyn ArrayBuilder>] {
Review Comment:
~I wonder if this should return a `mut` reference? What would be the usecase
of getting a read only reference to the builders 🤔~
NM I see now https://github.com/apache/arrow-rs/issues/7193
--
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]