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

Jacques Nadeau commented on DRILL-304:
--------------------------------------

no longer valid

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

Reply via email to