pepijnve opened a new issue, #765:
URL: https://github.com/apache/arrow-java/issues/765

   ### Describe the enhancement requested
   
   Currently the various import methods in `org.apache.arrow.c.Data` call 
`close` on the `BaseStruct` arguments they receive as parameter. This prevents 
callers from reusing these objects multiple times. Since the caller needs to 
allocate these objects themselves, it seems like it would be more consistent to 
also expect the caller to free them. This works well in combination with 
try-with-resources.
   
   See related discussion #763.


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to