You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/04/09 22:49:12 UTC
[jira] [Created] (DRILL-2740) Writers need to be AutoCloseable
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)