lidavidm commented on a change in pull request #10579:
URL: https://github.com/apache/arrow/pull/10579#discussion_r658801294
##########
File path: cpp/src/arrow/array/builder_base.h
##########
@@ -116,6 +116,10 @@ class ARROW_EXPORT ArrayBuilder {
/// This method is useful when appending null values to a parent nested type.
virtual Status AppendEmptyValues(int64_t length) = 0;
+ /// \brief Append a value from a scalar
+ virtual Status AppendScalar(const Scalar& scalar);
+ virtual Status AppendScalars(const ScalarVector& scalars);
Review comment:
Good point, I've added the overload.
--
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]