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] [Created] (DRILL-3181) Change error message to a more clear one when window range is specified for window function
Date Tue, 26 May 2015 18:41:17 GMT
Victoria Markman created DRILL-3181:
---------------------------------------

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


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)

Mime
View raw message