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:14:04 UTC

[jira] [Commented] (ARROW-1310) [JAVA] Revert ARROW-886

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

Rok Mihevc commented on ARROW-1310:
-----------------------------------

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

> [JAVA] Revert ARROW-886
> -----------------------
>
>                 Key: ARROW-1310
>                 URL: https://issues.apache.org/jira/browse/ARROW-1310
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: Siddharth Teotia
>            Assignee: Siddharth Teotia
>            Priority: Major
>             Fix For: 0.6.0
>
>
> We don't need to reallocate the underlying offsetVector every time a variable length vector is reallocated. 
> Reallocation of offsetVector is taken care of by setSafe() function of the offsetVector. 
> The setSafe() function of the Variable Length Vector will decide whether to call realloc() or not. However, this should not decide whether offsetVector needs reallocation or not. When setSafe() calls offsetVector.setSafe(), the latter can decide whether to reallocate the offset vector or not.



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