hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11103) Add banker's rounding BROUND UDF
Date Mon, 27 Jul 2015 08:04:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642413#comment-14642413
] 

Hive QA commented on HIVE-11103:
--------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12747288/HIVE-11103.2.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 9265 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_index_bitmap3
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_stats_counter_partitioned
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4717/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4717/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4717/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12747288 - PreCommit-HIVE-TRUNK-Build

> Add banker's rounding BROUND UDF
> --------------------------------
>
>                 Key: HIVE-11103
>                 URL: https://issues.apache.org/jira/browse/HIVE-11103
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-11103.1.patch, HIVE-11103.1.patch, HIVE-11103.2.patch
>
>
> Banker's rounding: the value is rounded to the nearest even number. Also known as "Gaussian
rounding", and, in German, "mathematische Rundung".
> Example
> {code}
>                   2 digits                2 digits
> Unrounded    "Standard" rounding    "Gaussian" rounding
>   54.1754      54.18                  54.18
>  343.2050     343.21                 343.20
> +106.2038    +106.20                +106.20 
> =========    =======                =======
>  503.5842     503.59                 503.58
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message