You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2015/07/08 18:37:04 UTC

[jira] [Created] (DRILL-3472) Memory leak when same alias used in the select clause of query

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)