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

Hive QA commented on HIVE-6622:
-------------------------------



{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/12651332/HIVE-6622.1.patch

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 5653 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas
org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes
org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes
org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12651332

> UDF translate doesn't take either CHAR or VARCHAR as any of its arguments
> -------------------------------------------------------------------------
>
>                 Key: HIVE-6622
>                 URL: https://issues.apache.org/jira/browse/HIVE-6622
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>    Affects Versions: 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Wilbur Yang
>         Attachments: HIVE-6622.1.patch
>
>
> UDF translate(input, from, to) doesn't accept any CHAR or VARCHAR typed 
> argument.
> {code}
> hive> desc vc;
> c                     char(5)                 None                
> vc                    varchar(7)              None                
> s                     string                  None                
> hive> select translate("my input", c, "ll") from vc;
> FAILED: SemanticException [Error 10016]: Line 1:29 Argument type mismatch 
> 'c': A string argument was expected but an argument of type char(5) was given.
> {code}
> However, if the type is String, then the UDF works fine.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to