You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Victoria Markman (JIRA)" <ji...@apache.org> on 2015/06/23 02:09:00 UTC

[jira] [Resolved] (DRILL-3338) Error message must be modified when PERCENT_RANK window functions are used without ORDER BY

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

Victoria Markman resolved DRILL-3338.
-------------------------------------
    Resolution: Duplicate

> 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)