Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
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:
SELECT employee_id, position_id, salary, SUM(salary) OVER(ORDER BY salary) FROM cp.`employee.json` LIMIT 20;
Attachments
Attachments
Issue Links
- duplicates
-
DRILL-3175 Missing partition by key in OVER clause causes RelOptPlanner$CannotPlanException
- Closed