You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/01/05 00:57:41 UTC

[jira] [Resolved] (DRILL-1852) over clause without order by clause throws an exception

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

Jacques Nadeau resolved DRILL-1852.
-----------------------------------
    Resolution: Fixed

> over clause without order by clause throws an exception
> -------------------------------------------------------
>
>                 Key: DRILL-1852
>                 URL: https://issues.apache.org/jira/browse/DRILL-1852
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>    Affects Versions: 0.6.0, 0.7.0, 0.8.0
>            Reporter: Deneche A. Hakim
>            Assignee: Deneche A. Hakim
>            Priority: Critical
>         Attachments: DRILL-1852 error message.txt
>
>
> When using over clause without an "order by" clause, the query throws an _AssertionError_ exception.
> For example, the following query throws an exception ( will attach a file containing the complete error message):
> {code}
> SELECT employee_id, position_id, salary, SUM(salary) OVER(PARTITION BY positition_id) FROM cp.`employee.json` LIMIT 20;
> {code}



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