You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2019/08/20 08:22:00 UTC

[jira] [Created] (ARROW-6296) [Java] Cleanup JDBC interfaces and eliminate one memcopy for binary/varchar fields

Micah Kornfield created ARROW-6296:
--------------------------------------

             Summary: [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


* 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)