drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2740) Writers need to be AutoCloseable
Date Thu, 09 Apr 2015 20:49:12 GMT
Chris Westin created DRILL-2740:
-----------------------------------

             Summary: Writers need to be AutoCloseable
                 Key: DRILL-2740
                 URL: https://issues.apache.org/jira/browse/DRILL-2740
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Flow
    Affects Versions: 0.8.0
            Reporter: Chris Westin
            Assignee: Chris Westin
             Fix For: 1.0.0


Writers (such as ComplexWriterImpl, or other AbstractBaseWriter derivatives) need to be AutoCloseables.
At present, they retain references to the empty DrillBuf, even after clear() is called because
of their operating assumption that they always have a reference to a DrillBuf. But with strict
accounting, we shouldn't even be hanging on to empty DrillBufs, but should instead release
them.



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

Mime
View raw message