tustvold commented on code in PR #2560:
URL: https://github.com/apache/arrow-rs/pull/2560#discussion_r952778199
##########
arrow/src/array/builder/union_builder.rs:
##########
@@ -155,6 +155,7 @@ pub struct UnionBuilder {
type_id_builder: Int8BufferBuilder,
/// Builder to keep track of offsets (`None` for sparse unions)
value_offset_builder: Option<Int32BufferBuilder>,
+ capacity: usize,
Review Comment:
```suggestion
initial_capacity: usize,
```
To avoid confusion perhaps?
--
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]