drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1074) decimal division throw ArrayIndexOutOfBoundsException
Date Wed, 09 Jul 2014 22:33:05 GMT

    [ https://issues.apache.org/jira/browse/DRILL-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056861#comment-14056861
] 

Chun Chang commented on DRILL-1074:
-----------------------------------

fix
#Wed Jul 09 10:28:32 PDT 2014
git.commit.id.abbrev=810a204

> 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: DrillCommitter
>         Attachments: DRILL-1074.patch
>
>
> #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)

Mime
View raw message