You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/23 23:05:39 UTC

[jira] [Updated] (PHOENIX-2052) Division Bug In Group By SQL The result turn to NULL

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

James Taylor updated PHOENIX-2052:
----------------------------------
    Fix Version/s: 4.8.0

> Division Bug In Group By SQL   The result turn to NULL 
> -------------------------------------------------------
>
>                 Key: PHOENIX-2052
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2052
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.3.0
>         Environment: hbase 0.98 phoenix 4.3 
>            Reporter: PeiLiping
>            Priority: Critical
>             Fix For: 4.8.0
>
>
> when use division in group by sql   the result turn to null
> select  a , floor( b/4 ) as t  from test group by a, t    
> 123  null
> 123   null
> select  a , floor( b * 0.25 ) as t  from test group by a, t
> 123  1
> 123  2 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)