-
Notifications
You must be signed in to change notification settings - Fork 119
Avoid closing/freeing struct-like object instances on import #765
Copy link
Copy link
Closed
Labels
Type: enhancementNew feature or requestNew feature or request
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: enhancementNew feature or requestNew feature or request