You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Padma Penumarthy (JIRA)" <ji...@apache.org> on 2018/05/10 16:39:00 UTC

[jira] [Created] (DRILL-6402) Repeated Value Vectors copyFrom methods are not updating the value count and writer index correctly for values vector

Padma Penumarthy created DRILL-6402:
---------------------------------------

             Summary: Repeated Value Vectors copyFrom methods are not updating the value count and writer index correctly for values vector
                 Key: DRILL-6402
                 URL: https://issues.apache.org/jira/browse/DRILL-6402
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.13.0
            Reporter: Padma Penumarthy
            Assignee: Padma Penumarthy
             Fix For: 1.14.0


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. 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)