tustvold commented on code in PR #2488:
URL: https://github.com/apache/arrow-rs/pull/2488#discussion_r950105330


##########
arrow/src/array/builder/union_builder.rs:
##########
@@ -168,8 +178,8 @@ impl UnionBuilder {
         }
     }
 
-    /// Creates a new sparse array builder.
-    pub fn new_sparse(capacity: usize) -> Self {

Review Comment:
   Not something for this PR but we should probably save the capacity and use 
it when we create new builder children
   
   Ticket created - https://github.com/apache/arrow-rs/issues/2523



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