You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:12:03 UTC

[jira] [Commented] (ARROW-875) Nullable variable length vector fillEmpties() fills an extra value

    [ https://issues.apache.org/jira/browse/ARROW-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17657908#comment-17657908 ] 

Rok Mihevc commented on ARROW-875:
----------------------------------

This issue has been migrated to [issue #16481|https://github.com/apache/arrow/issues/16481] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details.

> Nullable variable length vector fillEmpties() fills an extra value
> ------------------------------------------------------------------
>
>                 Key: ARROW-875
>                 URL: https://issues.apache.org/jira/browse/ARROW-875
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: Steven Phillips
>            Assignee: Steven Phillips
>            Priority: Major
>             Fix For: 0.3.0
>
>
> The fillEmpties() method is needed to update the offset vector in between non-null values. But it fills the current value which we are trying to set as well, when this is unnecessary. In fact, in the case of setValueCount(), this can result in an unnecessary reAlloc() call.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)