[
https://issues.apache.org/jira/browse/DRILL-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deneche A. Hakim updated DRILL-3181:
------------------------------------
Fix Version/s: 1.2.0
> Change error message to a more clear one when window range is specified for
> window function
> -------------------------------------------------------------------------------------------
>
> Key: DRILL-3181
> URL: https://issues.apache.org/jira/browse/DRILL-3181
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Victoria Markman
> Assignee: Deneche A. Hakim
> Labels: window_function
> Fix For: 1.2.0
>
>
> This error message makes me think that some data types are supported in the
> frame clause, when if fact we only support at this point "unbounded
> preceding/unbounded following and current row/". We should change error
> message to say that.
> {code}
> 0: jdbc:drill:schema=dfs> select a2, count(b2) over(partition by a2 order by
> a2 range between 10 preceding and 10 following) from t2;
> Error: PARSE ERROR: From line 1, column 69 to line 1, column 70: Data type of
> ORDER BY prohibits use of RANGE clause
> [Error Id: 67f94be3-d4a0-4d4c-94f5-d88b14fadbf3 on atsqa4-133.qa.lab:31010]
> (state=,code=0)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)