[
https://issues.apache.org/jira/browse/ARROW-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911103#comment-16911103
]
Ji Liu commented on ARROW-6296:
-------------------------------
Are you planning to do this yourself?
> [Java] Cleanup JDBC interfaces and eliminate one memcopy for binary/varchar
> fields
> ----------------------------------------------------------------------------------
>
> Key: ARROW-6296
> URL: https://issues.apache.org/jira/browse/ARROW-6296
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Reporter: Micah Kornfield
> Priority: Major
>
> * If we use direct setting of fields, we can avoid the extra temporary buffer
> and memcpy by setting bytes directly.
> * We should overwrite existing vectors in consumers before returning
> results, to avoid the possibility of closing vectors in use (or alternatively
> make sure we retain the underlying buffers).
> * Try to eliminate some of the state in load() by moving initialization to
> the constructor.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)