asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-2460) Sum does not calculate overflow correctly
Date Wed, 10 Oct 2018 00:44:00 GMT
James Fang created ASTERIXDB-2460:
-------------------------------------

             Summary: Sum does not calculate overflow correctly
                 Key: ASTERIXDB-2460
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2460
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: FUN - Functions
            Reporter: James Fang


Overflow is not calculated correctly in the sum function.

Query:

array_sum( [ int8("48"), int8("48"), int8("48")]);

Result:

-112



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message