Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
0: jdbc:drill:schema=dfs.drillTestDirP1> explain plan for select age,avg(gpa) from student group by age order by age desc;
----------------------+
text | json |
----------------------+
ScreenPrel: rowcount = 10.0, cumulative cost =
{518.8342956229998 rows, 144.0 cpu, 0.0 io}
, id = 16464 , id = 16463 |
----------------------+
1 row selected (0.088 seconds)
0: jdbc:drill:schema=dfs.drillTestDirP1> select age,avg(gpa) from student group by age order by age desc;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "ce694964-2792-4e22-b253-75884b6ba57b"
endpoint {
address: "drillats3.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.IntVector cannot be cast to org.apache.drill.exec.vector.Float8Vector ]"
]
Error: exception while executing query (state=,code=0)
Default order by which is asc works.