drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victoria Markman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1862) over clause with only order by clause throws an exception
Date Wed, 27 May 2015 20:49:20 GMT

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

Victoria Markman updated DRILL-1862:
------------------------------------
    Labels: window_function  (was: window_functions)

> 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: SQL Parser
>            Reporter: Deneche A. Hakim
>            Assignee: Aman Sinha
>              Labels: window_function
>             Fix For: 1.1.0
>
>         Attachments: 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)

Mime
View raw message