[
https://issues.apache.org/jira/browse/PHOENIX-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14627590#comment-14627590
]
PeiLiping commented on PHOENIX-2052:
------------------------------------
"b/2" was wrong
"b*0.5" was right
it is so weird
i do not think the problem is on sqlline
Have you tested by using JDBC ?
> 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
>
> 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)