spektom opened a new pull request, #7868: URL: https://github.com/apache/arrow-rs/pull/7868
# Which issue does this PR close? The problem with sliced arrays is that its values() method returns the original values slice due to zero-copy implementation of slice(). The same issue occurs when trying to observe sliced array offsets: the offsets do not start from 0. # Rationale for this change Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. # What changes are included in this PR? The change adds methods for accessing own values in O(1) and own offsets (those that start from 0). # Are these changes tested? Unit tests are included in the PR. # Are there any user-facing changes? Improved the documentation of existing methods. -- 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]
