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

Rok Mihevc commented on ARROW-2294:
-----------------------------------

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

> [Java] Fix splitAndTransfer for variable width vector
> -----------------------------------------------------
>
>                 Key: ARROW-2294
>                 URL: https://issues.apache.org/jira/browse/ARROW-2294
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: Siddharth Teotia
>            Priority: Major
>
> When we splitAndTransfer a vector, the value count to set for the target 
> vector should be equal to split length and not the value count of source 
> vector. 
> We have seen cases in operator slike FLATTEN and under low memory conditions, 
> we end up allocating a lot more memory for the target vector because of using 
> a large value in setValueCount after split and transfer is done.



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

Reply via email to