Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
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.