You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Ben Becker (JIRA)" <ji...@apache.org> on 2013/11/22 02:23:35 UTC

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

Ben Becker created DRILL-304:
--------------------------------

             Summary: 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.1#6144)