You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chun Chang (JIRA)" <ji...@apache.org> on 2014/06/25 22:31:26 UTC

[jira] [Created] (DRILL-1074) decimal division throw ArrayIndexOutOfBoundsException

Chun Chang created DRILL-1074:
---------------------------------

             Summary: decimal division throw ArrayIndexOutOfBoundsException
                 Key: DRILL-1074
                 URL: https://issues.apache.org/jira/browse/DRILL-1074
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
            Reporter: Chun Chang
            Assignee: Mehant Baid


#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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)