dkp116 opened a new pull request, #50366: URL: https://github.com/apache/arrow/pull/50366
### Rationale for this change ( #50310 ) Enhancement for ArrayData ### What changes are included in this PR? Added GetSpan<T>(int i, int64_t length) for read-only typed access to ArrayData. Added GetMutableSpan<T>(int i, int64_t length) for writable typed access to ArrayData. ### Are these changes tested? New unit tests were added in array_test.cc: GetSpanRespectsOffset GetMutableSpanRespectsOffset The tests verify: correct slicing with offset correct span length correctness of data read through spans correctness of in-place mutation through GetMutableSpan -- 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]
