Hanifi Gunes created DRILL-2611:
-----------------------------------

             Summary: Fixed length value vectors report invalid value count
                 Key: DRILL-2611
                 URL: https://issues.apache.org/jira/browse/DRILL-2611
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Hanifi Gunes
            Assignee: Hanifi Gunes


We maintain an exclusive value count variable in fixed vectors however we don't 
update it upon calling set/Safe. Accessor reports the value count from the 
variable ignoring values that are already in the buffer or written via 
set/Safe. This causes execution failures manifested as IOOB when underlying 
data is sparse. We should either remove the variable and report value count 
directly investigating the buffer if not computationally expensive or update 
the variable each time we make a write to the vector.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to