Ramana Inukonda Nagaraj created DRILL-592: ---------------------------------------------
Summary: 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 Reporter: Ramana Inukonda Nagaraj 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.2#6252)