[
https://issues.apache.org/jira/browse/DRILL-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deneche A. Hakim updated DRILL-1844:
------------------------------------
Component/s: (was: Functions - Drill)
Execution - Relational Operators
> window function throws an exception
> -----------------------------------
>
> Key: DRILL-1844
> URL: https://issues.apache.org/jira/browse/DRILL-1844
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Relational Operators
> Affects Versions: 0.7.0, 0.8.0
> Reporter: Deneche A. Hakim
> Assignee: Deneche A. Hakim
> Fix For: 0.8.0
>
> Attachments: DRILL-1844.1.patch, DRILL-1844.2.patch, window_error.txt
>
>
> Starting from Drill 0.7.0 (specifically after DRILL-1781 was committed), 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)