drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3998) Check skipping of .clear and .release in BaseTestQuery.printResult(...) (bug?)
Date Sat, 31 Oct 2015 00:08:27 GMT
Daniel Barclay (Drill) created DRILL-3998:
---------------------------------------------

             Summary: Check skipping of .clear and .release in BaseTestQuery.printResult(...)
(bug?)
                 Key: DRILL-3998
                 URL: https://issues.apache.org/jira/browse/DRILL-3998
             Project: Apache Drill
          Issue Type: Bug
          Components: Tools, Build & Test
            Reporter: Daniel Barclay (Drill)


In {{BaseTestQuery.printResult(...)}}, if a loaded record batch has no records, the code skips
calling not only the printout method but also {{RecordBatchLoader.clear()}} and {{QueryDataBatch.release()}}
methods.  Is that correct?

(At some point in debugging DRILL-2288, that skipping of {{clear}} and {{release}} seemed
to cause reporting of a memory leak.)





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

Mime
View raw message