felipecrv opened a new issue, #34893:
URL: https://github.com/apache/arrow/issues/34893

   ### Describe the enhancement requested
   
   The value of `RunEndEncodedArraySpan::Iterator::physical_pos_` from the 
instance returned by `RunEndEncodedArraySpan::end()` is smaller (by 1) than the 
results of successive applications of `operator++` until `logical_pos_` reaches 
the logical length of the run-end encoded array.
   
   *Why this is important?*
   
   To support backwards iteration, the `Iterator` returned by 
`RunEndEncodedArraySpan::end()` should be well-formed.
   
   *Why this is not a bug?*
   
   There is no `operator--()` in `RunEndEncodedArraySpan::Iterator` yet, so you 
can't go backwards from `end()`. A fix for this issue adds that operator and 
uses it in tests that guarantee iterators are always valid and don't assume 
iteration only happens in one direction.
   
   ### Component(s)
   
   C++


-- 
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]

Reply via email to