[
https://issues.apache.org/jira/browse/PHOENIX-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456563#comment-15456563
]
ASF GitHub Bot commented on PHOENIX-2474:
-----------------------------------------
Github user kliewkliew commented on the issue:
https://github.com/apache/phoenix/pull/198
https://github.com/apache/phoenix/commit/b7d45ca66729ae57c0896449e36b80f4fdcafb46
> 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)