Abhishek Girish created DRILL-3338:
--------------------------------------
Summary: Error message must be modified when PERCENT_RANK window
functions are used without ORDER BY
Key: DRILL-3338
URL: https://issues.apache.org/jira/browse/DRILL-3338
Project: Apache Drill
Issue Type: Bug
Components: Query Planning & Optimization
Affects Versions: 1.1.0
Reporter: Abhishek Girish
Assignee: Sean Hsuan-Yi Chu
Priority: Minor
The following message is thrown when a query containing PERCENT_RANK window
function fails:
{code:sql}
SELECT PERCENT_RANK() OVER (PARTITION BY ss.ss_store_sk) FROM store_sales ss
LIMIT 20;
Error: PARSE ERROR: From line 1, column 28 to line 1, column 56: RANK or
DENSE_RANK functions require ORDER BY clause in window specification
{code}
The error message must be modified to include PERCENT_RANK function
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)