Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1020

Bug in vector allocation causes allocation sizes to become too small

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      The copyFromSafe method in variable length vectors checks the capacity of the offset vector, and if there is not sufficient space, it returns false. This is a problem, because by not calling setSafe on the offset vector, the offset vector capacity will never increase.

      The solution is to call setSafe on the offset vector.

      Attachments

        1. DRILL-1020.patch
          20 kB
          Steven Phillips

        Activity

          People

            Unassigned Unassigned
            sphillips Steven Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: