Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2294

[Java] Fix splitAndTransfer for variable width vector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            siddteotia Siddharth Teotia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: