Closed
Description
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.