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

Hive QA commented on HIVE-6327:
-------------------------------



{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/12626373/HIVE-6327.patch

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

Test results: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1146/testReport
Console output: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1146/console

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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12626373

> A few mathematic functions don't take decimal input
> ---------------------------------------------------
>
>                 Key: HIVE-6327
>                 URL: https://issues.apache.org/jira/browse/HIVE-6327
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.11.0, 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>         Attachments: HIVE-6327.patch
>
>
> A few mathematical functions, such as sin() cos(), etc. don't take decimal as 
> argument.
> {code}
> hive> show tables;
> OK
> Time taken: 0.534 seconds
> hive> create table test(d decimal(5,2));
> OK
> Time taken: 0.351 seconds
> hive> select sin(d) from test;
> FAILED: SemanticException [Error 10014]: Line 1:7 Wrong arguments 'd': No 
> matching method for class org.apache.hadoop.hive.ql.udf.UDFSin with 
> (decimal(5,2)). Possible choices: _FUNC_(double)  
> {code}
> HIVE-6246 covers only sign() function. The remaining ones, including sin, 
> cos, tan, asin, acos, atan, exp, ln, log, log10, log2, radians, and sqrt. 
> These are non-generic UDFs.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to