You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2015/06/22 23:59:00 UTC
[jira] [Closed] (DRILL-3339) Error message must be modified when
PERCENT_RANK window functions are used without ORDER BY
[ https://issues.apache.org/jira/browse/DRILL-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Girish closed DRILL-3339.
----------------------------------
Resolution: Duplicate
JIRA web-client has an issue where duplicate issues are created. Closing this.
> Error message must be modified when PERCENT_RANK window functions are used without ORDER BY
> --------------------------------------------------------------------------------------------
>
> Key: DRILL-3339
> URL: https://issues.apache.org/jira/browse/DRILL-3339
> 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)