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)