alamb commented on code in PR #7217:
URL: https://github.com/apache/arrow-rs/pull/7217#discussion_r1984929572


##########
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 recommend also adding `field_builders_mut` as well for symmetry, but I 
think between this and `field_builder` you could get mutable references to each 
builder



-- 
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]

Reply via email to