drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victoria Markman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3297) Using rank, dense_rank, percent_rank, cume_dist, row_number window functions without OVER clause results in cryptic schema change error
Date Fri, 11 Sep 2015 19:53:46 GMT

    [ https://issues.apache.org/jira/browse/DRILL-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14741455#comment-14741455
] 

Victoria Markman commented on DRILL-3297:
-----------------------------------------

Verified fixed in: 1.2.0

#Fri Sep 11 05:38:24 UTC 2015
git.commit.id.abbrev=b525692

Test added in: Functional/Passing/window_functions/negative

> Using rank, dense_rank, percent_rank, cume_dist, row_number window functions without
OVER clause results in cryptic schema change error
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-3297
>                 URL: https://issues.apache.org/jira/browse/DRILL-3297
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>            Reporter: Victoria Markman
>            Assignee: Sean Hsuan-Yi Chu
>              Labels: window_function
>             Fix For: 1.2.0
>
>
> {code}
> 0: jdbc:drill:schema=dfs> select rank() from t1;
> java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: org.apache.drill.exec.exception.SchemaChangeException:
Failure while materializing expression. 
> Error in expression at index -1.  Error: Missing function implementation: [rank(BIGINT-REQUIRED)].
 Full expression: --UNKNOWN EXPRESSION--.
> Fragment 0:0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message