tustvold commented on code in PR #6534:
URL: https://github.com/apache/arrow-rs/pull/6534#discussion_r1795803161
##########
arrow-array/src/builder/primitive_builder.rs:
##########
@@ -202,6 +202,13 @@ impl<T: ArrowPrimitiveType> PrimitiveBuilder<T> {
self.values_builder.append(v);
}
+ /// Appends a value of type `T` into the builder `n` times
+ #[inline]
+ pub fn append_value_repeated(&mut self, v: T::Native, n: usize) {
Review Comment:
It is kind of sad that the naming of this can't be consistent, but I don't
really have any better suggestions. Perhaps `append_value_n`??
--
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]