spektom commented on PR #7868: URL: https://github.com/apache/arrow-rs/pull/7868#issuecomment-3034936383
This is an issue, because there's no indication that current array is a result of a slice operation. Returned values are simply not logically correct because they are from the original array and not from the current view. The returned offsets should also be relative to the start of the current view. This is crucial for array serialization / conversion scenarios. Taking into account the importance of zero-copy design, IMO it should be documented in the values/offsets methods, and alternative methods should be provided. -- 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