[
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 <[email protected]>
Change-Id: Ic693d027190b43fa3deaaf83ebf73f62c77d5a76
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2996
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>
> 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)