You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kevin Liew (JIRA)" <ji...@apache.org> on 2016/09/01 15:27:20 UTC
[jira] [Commented] (PHOENIX-2474) Cannot round to a negative
precision (to the left of the decimal)
[ https://issues.apache.org/jira/browse/PHOENIX-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15455767#comment-15455767 ]
Kevin Liew commented on PHOENIX-2474:
-------------------------------------
The tests failed due to a timeout which I think is unrelated to the patch.
> Cannot round to a negative precision (to the left of the decimal)
> -----------------------------------------------------------------
>
> Key: PHOENIX-2474
> URL: https://issues.apache.org/jira/browse/PHOENIX-2474
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.6.0
> Reporter: Kevin Liew
> Assignee: Kevin Liew
> Labels: function, newbie, phoenix
> Fix For: 4.9.0, 4.8.1
>
> Attachments: PHOENIX-2474.patch
>
>
> Query:
> {noformat}select ROUND(444.44, -2){noformat}
> Expected result:
> {noformat}400{noformat}
> Actual result:
> {noformat}444.44{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)