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

Repeated Value Vectors copyFrom methods are not updating the value count and writer index correctly for values vector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.13.0
    • 1.14.0
    • None
    • None

    Description

      copyFrom and copyFromSafe methods of repeated value vectors do not update the value count after values are copied. We update before the copy starts. Offset vector value count is updated correctly. But, values vector value count is not updated. So, writer index for values vector will have wrong value and we get index out of bounds error when trying to read after copy. This problem is seen when we do split and transfer of repeated value vector. 

       

      Attachments

        Activity

          People

            ppenumarthy Padma Penumarthy
            ppenumarthy Padma Penumarthy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: