lidavidm commented on a change in pull request #11127:
URL: https://github.com/apache/arrow/pull/11127#discussion_r707565450
##########
File path: cpp/src/arrow/array/array_nested.h
##########
@@ -292,6 +292,13 @@ class ARROW_EXPORT FixedSizeListArray : public Array {
return values_->Slice(value_offset(i), value_length(i));
}
+ /// \brief Return an Array that is a concatenation of the lists in this
array.
+ ///
+ /// Note that it's different from `values()` in that it takes into
+ /// consideration null elements (they are skipped, thus copying may be
needed).
+ Result<std::shared_ptr<Array>> Flatten(
+ MemoryPool* memory_pool = default_memory_pool()) const;
Review comment:
Done.
--
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]