viirya commented on issue #1035: URL: https://github.com/apache/datafusion-comet/issues/1035#issuecomment-2438149174
> Edit: To expand further as there seems to be a lot of confusion here, the method [linked](https://github.com/apache/datafusion-comet/blob/main/native/core/src/common/buffer.rs#L166) in the original issue description, just needs to pass something real instead of `Arc::new(0)` that prevents the JVM from reusing or freeing the buffer until it is dropped. Huh? When exporting the array from native to JVM, I believe JVM doesn't care about this `Allocation` parameter. -- 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