LiaCastaneda commented on issue #16841: URL: https://github.com/apache/datafusion/issues/16841#issuecomment-3571925496
> I'm probably missing something but could we tie a memory reservation to an array buffer itself so that it gets reserved once when the array is created and freed whenever the array gets dropped? iiuc the ` MemoryReservation ` arrow API does that in Buffer->Bytes [here](https://github.com/apache/arrow-rs/blob/88b135a2fadfce80d7962ca0d91473f9c62337fb/arrow-buffer/src/bytes.rs#L60): -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
