felipecrv commented on code in PR #34550:
URL: https://github.com/apache/arrow/pull/34550#discussion_r1136410094
##########
cpp/src/arrow/array/array_run_end.h:
##########
@@ -87,6 +87,19 @@ class ARROW_EXPORT RunEndEncodedArray : public Array {
/// The physical offset to the array is applied.
const std::shared_ptr<Array>& values() const { return values_array_; }
+ /// \brief Returns an array holding the logical indexes of each run end
+ ///
+ /// If a non-zero logical offset is set, this function allocates a new
+ /// array and rewrites all the run end values to be relative to the logical
+ /// offset and cuts the end of the array to the logical length.
Review Comment:
Pushed a fix.
--
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]