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/05/24 01:20:02 UTC

[jira] [Commented] (DRILL-834) The sum() operator should automatically promote to a type that can hold the sum

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

Chun Chang commented on DRILL-834:
----------------------------------

#Fri May 23 08:42:45 PDT 2014
git.commit.id.abbrev=f948d71

> The sum() operator should automatically promote to a type that can hold the sum
> -------------------------------------------------------------------------------
>
>                 Key: DRILL-834
>                 URL: https://issues.apache.org/jira/browse/DRILL-834
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Operators
>            Reporter: Chun Chang
>            Assignee: Mehant Baid
>            Priority: Blocker
>
> The sum() of a type may exceed the type range, hence, should implicitly and automatically promote to a type that can hold the sum. Currently, the sum just overflows into negative (see JIRA833) and gives wrong result.



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