jvanstraten commented on a change in pull request #12279:
URL: https://github.com/apache/arrow/pull/12279#discussion_r796539429
##########
File path: cpp/src/arrow/array/builder_base.h
##########
@@ -286,13 +287,27 @@ ARROW_EXPORT
Status MakeBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
std::unique_ptr<ArrayBuilder>* out);
+inline Result<std::unique_ptr<ArrayBuilder>> MakeBuilder(
Review comment:
I guess this is just a matter of taste, so I'll leave it as @bkietz
wrote it.
--
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]