You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Boaz Ben-Zvi (JIRA)" <ji...@apache.org> on 2018/05/30 19:47:00 UTC

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

     [ https://issues.apache.org/jira/browse/DRILL-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boaz Ben-Zvi resolved DRILL-6402.
---------------------------------
    Resolution: Fixed

commit 31be83ebf5c58ca9ce3862369b4a828589f496f8

as part of PR #1255 

 

> 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
>            Priority: Major
>             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)