You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2015/04/09 03:38:13 UTC

[jira] [Commented] (DRILL-2731) Need to repeat realloc in vectors until there is sufficient space

    [ https://issues.apache.org/jira/browse/DRILL-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486512#comment-14486512 ] 

Steven Phillips commented on DRILL-2731:
----------------------------------------

Hanifi, please review.

> Need to repeat realloc in vectors until there is sufficient space
> -----------------------------------------------------------------
>
>                 Key: DRILL-2731
>                 URL: https://issues.apache.org/jira/browse/DRILL-2731
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Relational Operators
>            Reporter: Steven Phillips
>            Assignee: Hanifi Gunes
>         Attachments: DRILL-2731.patch
>
>
> When calling setSafe() on a valuevector, we check that the vectors capacity is sufficient to hold the new value, and it is not, we call reAlloc(). However, it is possible that there is still insufficient space after this. The call to reAlloc() should be repeated until there is sufficient space.



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