You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2014/12/13 01:03:13 UTC

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

Deneche A. Hakim created DRILL-1862:
---------------------------------------

             Summary: 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: Bug
            Reporter: Deneche A. Hakim
            Priority: Critical


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)