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

[JAVA] Revert ARROW-886

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: Java
    • Labels:
      None

      Description

      We don't need to reallocate the underlying offsetVector every time a variable length vector is reallocated.

      Reallocation of offsetVector is taken care of by setSafe() function of the offsetVector.

      The setSafe() function of the Variable Length Vector will decide whether to call realloc() or not. However, this should not decide whether offsetVector needs reallocation or not. When setSafe() calls offsetVector.setSafe(), the latter can decide whether to reallocate the offset vector or not.

        Attachments

          Activity

            People

            • Assignee:
              siddteotia Siddharth Teotia
              Reporter:
              siddteotia Siddharth Teotia
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: