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

ASF subversion and git services commented on ASTERIXDB-2461:
------------------------------------------------------------

Commit adfb63361a1808aadb1782aee03acc4d9af8eb0c in asterixdb's branch 
refs/heads/master from [~James Fang]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=adfb633 ]

[ASTERIXDB-2461][FUN] Fix LocalAvgTypeComputer

- user model changes: yes
- storage format changes: no
- interface changes: no

Details:
1. Changed the type of count from INT32 to INT64 because AVG uses a long
to store count

commit 7cfdaf0b8fb452ead4183a8f24a5b5dd21354fa0
Author: James Fang <jfang...@ucr.edu>

Change-Id: Ic693d027190b43fa3deaaf83ebf73f62c77d5a76
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2996
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lycha...@couchbase.com>


> LocalAvgTypeComputer has an incorrectly type field
> --------------------------------------------------
>
>                 Key: ASTERIXDB-2461
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2461
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: FUN - Functions
>            Reporter: James Fang
>            Priority: Minor
>
> The AVG function calculates the count using a long. This requires the type 
> computer to have a count field which is INT64, but currently it is INT32.



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

Reply via email to