Deneche A. Hakim created DRILL-1844: ---------------------------------------
Summary: window function throws an exception Key: DRILL-1844 URL: https://issues.apache.org/jira/browse/DRILL-1844 Project: Apache Drill Issue Type: Bug Affects Versions: 0.7.0, 0.8.0 Reporter: Deneche A. Hakim Starting from Drill 0.7.0, The following query: {code} SELECT employee_id,position_id, salary, avg(salary) OVER (PARTITION BY position_id order by position_id) FROM cp.`employee.json` order by employee_id; {code} Throws an _IllegalStateException_: {code} Attempted to close accountor with 6 buffer(s) still allocatedfor QueryId: 2b7606b9-eddf-05db-2b8d-d72c5aa54e95, MajorFragmentId: 0, MinorFragmentId: 0. {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)