You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Siddharth Teotia (JIRA)" <ji...@apache.org> on 2018/03/09 20:35:04 UTC

[jira] [Created] (ARROW-2294) Fix splitAndTransfer for variable width vector

Siddharth Teotia created ARROW-2294:
---------------------------------------

             Summary: 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 - Vectors
            Reporter: Siddharth Teotia
            Assignee: Siddharth Teotia


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
(v7.6.3#76005)