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

ASF subversion and git services commented on GEODE-7242:
--------------------------------------------------------

Commit 51703203b4b7cbd0625dfc77352042c0f230dd55 in geode's branch 
refs/heads/develop from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=5170320 ]

GEODE-7242: Fix AVG and SUM documentation (#4092)

Fixed the documentation for the aggregate functions AVG and SUM, the
result value will always be an instance of `java.lang.Number` but the
actual type might vary depending on the value size and wether it has a
decimal componen or not.

> Incorrect documentation for AVG and SUM aggregate functions
> -----------------------------------------------------------
>
>                 Key: GEODE-7242
>                 URL: https://issues.apache.org/jira/browse/GEODE-7242
>             Project: Geode
>          Issue Type: Bug
>          Components: docs, querying
>            Reporter: Donal Evans
>            Assignee: Juan José Ramos Cassella
>            Priority: Major
>              Labels: GeodeCommons
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The documentation for OQL Aggregate Functions states that {{AVG}} and {{SUM}} 
> always return either a {{Float}} or {{Double}}, but the actual return type 
> can be any of {{Integer}}, {{Long}}, {{Float}} or {{Double}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to