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)

Reply via email to