drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-2198) Vector re-allocation fails for large records
Date Thu, 24 Sep 2015 22:39:04 GMT

     [ 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)

Mime
View raw message