viirya commented on issue #1035:
URL: 
https://github.com/apache/datafusion-comet/issues/1035#issuecomment-2438356150

   I believe that the reason why `Allocation` parameter is here is because we 
claim an imported buffer uses custom allocation which arrow-rs won't try to 
deallocate it when dropping the buffer. I doubt that it is used to make sure 
the memory is not freed or mutated by external process (actually I doubt how it 
is possible to guarantee it in any ways). On the contrary, it prevents the 
memory allocated by external won't be freed by arrow-rs when dropping the 
imported buffer.


-- 
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...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to