You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/07/12 14:05:02 UTC
[jira] [Assigned] (ARROW-7539) [Java] FieldVector getFieldBuffers API should not set reader/writer indices
[ https://issues.apache.org/jira/browse/ARROW-7539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Farmer reassigned ARROW-7539:
----------------------------------
Assignee: (was: Ji Liu)
This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.
> [Java] FieldVector getFieldBuffers API should not set reader/writer indices
> ---------------------------------------------------------------------------
>
> Key: ARROW-7539
> URL: https://issues.apache.org/jira/browse/ARROW-7539
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Ji Liu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 6h 40m
> Remaining Estimate: 0h
>
> Per discussion [https://github.com/apache/arrow/pull/6133#discussion_r364906302].
> The fact that we have reader/writer settings in {{getFieldBuffers}} is wrong. To clarify, {{getFieldBuffers}} is distinct from {{getBuffers}}. The former should be for getting access to underlying data for higher-performance algorithms. The latter is for sending the data over the wire. Seems we've mixed up use of both.
>
> Currently in {{VectorUnloader}}, we used {{getFieldBuffers}} to create {{ArrowRecordBatch}} that’s why we keep writer/reader indices in {{getFieldBuffers}}, we should use {{getBuffers}} instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)