[
https://issues.apache.org/jira/browse/ARROW-9270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou closed ARROW-9270.
---------------------------------
Resolution: Won't Do
I'm going to close this for now as it doesn't seem to have been requested by
users, and would be inherently fragile.
> [C++] Create Buffer to represent a slice of a ResizableBuffer that may yet
> reallocate
> -------------------------------------------------------------------------------------
>
> Key: ARROW-9270
> URL: https://issues.apache.org/jira/browse/ARROW-9270
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
>
> One problem with slicing ResizableBuffer is that slices of a buffer that is
> still changing may be invalidated after a resize operation. I'd be interested
> in having a way to slice a ResizableBuffer where the slice is still usable
> after a resize. This would presume, of course, that the code responsible for
> the parent and child buffers behaves appropriately (e.g. if you call
> {{child->data()}} and then resize the parent, the pointer may become invalid
--
This message was sent by Atlassian Jira
(v8.20.1#820001)