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)