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

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

     [ https://issues.apache.org/jira/browse/ARROW-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Micah Kornfield resolved ARROW-6296.
------------------------------------
    Fix Version/s: 0.15.0
       Resolution: Fixed

Issue resolved by pull request 5152
[https://github.com/apache/arrow/pull/5152]

> [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
>            Assignee: Ji Liu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> * 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)