ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4724) AVG function always returns double type instead of the argument type
Date Mon, 20 Feb 2017 10:48:44 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Ozerov updated IGNITE-4724:
------------------------------------
    Fix Version/s:     (was: 1.9)
                   2.0

> AVG function always returns double type instead of the argument type
> --------------------------------------------------------------------
>
>                 Key: IGNITE-4724
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4724
>             Project: Ignite
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.9
>            Reporter: Sergey Kozlov
>             Fix For: 2.0
>
>
> For H2:
> SELECT AVG(intCol) FROM cache_part_2 AS part_2 WHERE (10*shortCol/100) > longCol
> -[472]
> For Ignite:
> SELECT AVG(intCol) FROM AllTypes AS part_2 WHERE (10*shortCol/100) > longCol
> +[472.2307692307692]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message