drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinfeng Ni (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3472) Memory leak when same alias used in the select clause of query
Date Wed, 08 Jul 2015 16:37:04 GMT
Jinfeng Ni created DRILL-3472:
---------------------------------

             Summary: Memory leak when same alias used in the select clause of query
                 Key: DRILL-3472
                 URL: https://issues.apache.org/jira/browse/DRILL-3472
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Relational Operators
            Reporter: Jinfeng Ni
            Assignee: Chris Westin


The following query will hit memory leak on master branch:

{code}
select n_nationkey as a, n_name as A from cp.`tpch/nation.parquet`;

java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: IllegalStateException: Attempted
to close accountor with 1 buffer(s) still allocatedfor QueryId: 2a6389d2-ee5d-9b1d-fe6d-9e9d3b545040,
MajorFragmentId: 0, MinorFragmentId: 0.
{code}

Interesting, the following query runs successfully
{code}
select n_nationkey as a, n_nationkey as A from cp.`tpch/nation.parquet`;
{code}





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

Mime
View raw message