[
https://issues.apache.org/jira/browse/PHOENIX-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456270#comment-15456270
]
Hudson commented on PHOENIX-2474:
---------------------------------
FAILURE: Integrated in Jenkins build Phoenix-4.8-HBase-1.2 #6 (See
[https://builds.apache.org/job/Phoenix-4.8-HBase-1.2/6/])
PHOENIX-2474 Cannot round to a negative precision (to the left of the (samarth:
rev f0b4b5b8fc6ed5cc9a6ae252e9923f4dda0113de)
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/function/RoundDecimalExpression.java
* (edit)
phoenix-core/src/test/java/org/apache/phoenix/expression/RoundFloorCeilExpressionsTest.java
> 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)