[
https://issues.apache.org/jira/browse/DRILL-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587103#comment-14587103
]
Victoria Markman commented on DRILL-3297:
-----------------------------------------
Jinfeng, I did not expect this to work. I'd like to see a nice error message :)
> 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: Jinfeng Ni
>
> {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)