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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: