tustvold commented on issue #7992: URL: https://github.com/apache/arrow-rs/issues/7992#issuecomment-3436116140
IMO adding more methods just makes it even more confusing, as if you return a sliced representation of values, the offsets no longer match up correctly. Additionally the proposed actual_values may still contain unreferenced values, e.g. in the presence of a non-empty null. Whilst I agree it's easy to make mistakes here, it's somewhat inherent to the way the arrow format is formulated. You have the exact same "issue" with StringArray, BinaryArray, DictionaryArray, etc... At a certain point if you're messing around with the underlying arrays you need to be careful -- 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]
