raulcd commented on issue #47053:
URL: https://github.com/apache/arrow/issues/47053#issuecomment-3108511129

   I am not sure about the equality check for case 2, what would be the 
expected behavior on case 2 if we are slicing an Array:
   ```
     auto sliced = good_array->Slice(5, 20);
     ASSERT_OK(sliced->ValidateFull());
   ```
   Because we are not modifying the run ends on those cases and 
`run_ends[run_ends_data->length - 1]` will be greater than `logical_offset + 
logical_length` for those.
   
   Extracted from:
   
https://github.com/apache/arrow/blob/bb33493bd34dcd21d71b6b942203992e67f5ef3c/cpp/src/arrow/array/array_run_end_test.cc#L384-L414


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to