You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/05/29 17:46:14 UTC

[jira] [Resolved] (DRILL-304) Implement destroy() method for HyperBatches

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

Jacques Nadeau resolved DRILL-304.
----------------------------------

    Resolution: Invalid

> Implement destroy() method for HyperBatches
> -------------------------------------------
>
>                 Key: DRILL-304
>                 URL: https://issues.apache.org/jira/browse/DRILL-304
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Ben Becker
>
> Ideally, classes like AbstractSingleRecordBatch() should call container.clear() to decrement the reference count of the incoming ValueVectors before calling next() on the upstream operator.  There is an issue with HyperBatches in this case though; the underlying ValueVectors should not be freed implicitly.  That is, the operator should only clear the vectors when the entire HyperBatch has been consumed.
> It has been suggested that a destroy() method be used to handle the HyperBatch case.



--
This message was sent by Atlassian JIRA
(v6.2#6252)