Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
#Wed Jun 25 11:18:26 PDT 2014
git.commit.id.abbrev=79c1502
The following decimal division query used to work but throws exception now, so it's a regression.
0: jdbc:drill:schema=dfs> select cast('999999999' as decimal(9,0)) / cast('0.000000000000000000000000001' as decimal(28,28)) from data limit 1;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "3e7c3e36-76f4-43c0-b051-b15f3082722e"
endpoint {
address: "qa-node117.qa.lab"
user_port: 31010
control_port: 31011
data_port: 31012
}
error_type: 0
message: "Failure while running fragment. < ArrayIndexOutOfBoundsException:[ -4 ]"
]
Error: exception while executing query (state=,code=0)