You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/09/25 00:39:04 UTC

[jira] [Resolved] (DRILL-2198) Vector re-allocation fails for large records

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

Chris Westin resolved DRILL-2198.
---------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 1.4.0)

This was fixed by DRILL-2731. I checked the vector template files (FixedValueVectors, NullableValueVectors, RepeatedValueVectors, and VariableLengthVectors), and all of them have wrapped reAlloc() with a loop to make sure the resulting vector is large enough to hold the required index.

> Vector re-allocation fails for large records
> --------------------------------------------
>
>                 Key: DRILL-2198
>                 URL: https://issues.apache.org/jira/browse/DRILL-2198
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>            Reporter: Hanifi Gunes
>            Priority: Minor
>
> In many places we reallocate vectors without making sure that there is enough space after reallocation. This causes problem for large records that won't fit into buffer even after reallocating once. We should keep re-allocating until there is enough space for writing the record. 



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