drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Girish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3339) Error message must be modified when PERCENT_RANK window functions are used without ORDER BY
Date Mon, 22 Jun 2015 21:58:00 GMT
Abhishek Girish created DRILL-3339:
--------------------------------------

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

Mime
View raw message