You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Victoria Markman (JIRA)" <ji...@apache.org> on 2015/06/26 17:16:05 UTC

[jira] [Closed] (DRILL-1862) over clause with only order by clause throws an exception

     [ https://issues.apache.org/jira/browse/DRILL-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Victoria Markman closed DRILL-1862.
-----------------------------------

> over clause with only order by clause throws an exception
> ---------------------------------------------------------
>
>                 Key: DRILL-1862
>                 URL: https://issues.apache.org/jira/browse/DRILL-1862
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Query Planning & Optimization
>            Reporter: Deneche A. Hakim
>            Assignee: Aman Sinha
>              Labels: window_function
>             Fix For: 1.1.0
>
>         Attachments: 0001-DRILL-1862-Create-window-function-required-distribut.patch, 0002-DRILL-1862-Create-window-function-required-distribut.patch, DRILL-1862 error.txt
>
>
> When using over clause without a "partition by" clause but with an "order by" clause, an _ForemanException_ is thrown (complete error message attached).
> For example the following query throws and exception:
> {code}
> SELECT employee_id, position_id, salary, SUM(salary) OVER(ORDER BY salary) FROM cp.`employee.json` LIMIT 20;
> {code}



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