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-1296) [Java] templates/FixValueVectors reset() method doesn't set allocationSizeInBytes correctly

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

Rok Mihevc commented on ARROW-1296:
-----------------------------------

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

> [Java] templates/FixValueVectors reset() method doesn't set allocationSizeInBytes correctly
> -------------------------------------------------------------------------------------------
>
>                 Key: ARROW-1296
>                 URL: https://issues.apache.org/jira/browse/ARROW-1296
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 0.5.0
>            Reporter: Li Jin
>            Assignee: Li Jin
>            Priority: Major
>             Fix For: 0.6.0
>
>
> [~siddteotia] pointed out reset() in templates/FixValueVectors.java should set:
> {code}
> allocationSizeInBytes = INITIAL_VALUE_ALLOCATION * ${type.width}
> {code}
> instead of:
> {code}
> allocationSizeInBytes = INITIAL_VALUE_ALLOCATION
> {code}



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