You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Ramana Inukonda Nagaraj (JIRA)" <ji...@apache.org> on 2015/04/17 20:20:58 UTC

[jira] [Closed] (DRILL-592) order by on select * with filter fails

     [ https://issues.apache.org/jira/browse/DRILL-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramana Inukonda Nagaraj closed DRILL-592.
-----------------------------------------

> order by on select * with filter fails
> --------------------------------------
>
>                 Key: DRILL-592
>                 URL: https://issues.apache.org/jira/browse/DRILL-592
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>            Reporter: Ramana Inukonda Nagaraj
>            Assignee: Jacques Nadeau
>            Priority: Critical
>             Fix For: 0.4.0
>
>
> 0: jdbc:drill:schema=dfs.drillTestDirP1> explain plan for select * from student where gpa>2 order by gpa;
> +------------+------------+
> |    text    |    json    |
> +------------+------------+
> | ScreenPrel: rowcount = 50.0, cumulative cost = {281.48092021712586 rows, 141.0 cpu, 0.0 io}, id = 17763
>   SingleMergeExchangePrel(sort0=[1 ASC]): rowcount = 50.0, cumulative cost = {276.48092021712586 rows, 136.0 cpu, 0.0 io}, id = 17762
>     SortPrel(sort0=[$1], dir |
> +------------+------------+
> 1 row selected (0.068 seconds)
> 0: jdbc:drill:schema=dfs.drillTestDirP1>  select * from student where gpa>2 order by gpa;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "f9ef8a1b-e231-4e97-a04b-1c9da48e9262"
> endpoint {
>   address: "drillats1.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while running fragment. < ClassCastException:[ org.apache.drill.exec.vector.VarBinaryVector cannot be cast to org.apache.drill.exec.vector.Float4Vector ]"
> ]
> Error: exception while executing query (state=,code=0)
> Might be related to Drill-586 but looks unlikely. That bug failed during plan phase itself.



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