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 2015/12/01 23:48:10 UTC

[jira] [Updated] (PHOENIX-2474) Cannot round to a negative precision

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

Kevin Liew updated PHOENIX-2474:
--------------------------------
    Summary: Cannot round to a negative precision  (was: Cannot round to a digit left of the decimal)

> Cannot round to a negative precision
> ------------------------------------
>
>                 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
>              Labels: function, phoenix
>
> 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)