hive-dev 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-6637) UDF in_file() doesn't take CHAR or VARCHAR as input
Date Thu, 26 Jun 2014 22:45:26 GMT

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

Hive QA commented on HIVE-6637:
-------------------------------



{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/12652648/HIVE-6637.3.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5669 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table
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/605/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/605/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-605/

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: 12652648

> UDF in_file() doesn't take CHAR or VARCHAR as input
> ---------------------------------------------------
>
>                 Key: HIVE-6637
>                 URL: https://issues.apache.org/jira/browse/HIVE-6637
>             Project: Hive
>          Issue Type: Bug
>          Components: Types, UDF
>    Affects Versions: 0.14.0
>            Reporter: Xuefu Zhang
>            Assignee: Ashish Kumar Singh
>         Attachments: HIVE-6637.1.patch, HIVE-6637.2.patch, HIVE-6637.3.patch
>
>
> {code}
> hive> desc alter_varchar_1;
> key                 	string              	None                
> value               	varchar(3)          	None                
> key2                	int                 	None                
> value2              	varchar(10)         	None                
> hive> select in_file(value, value2) from alter_varchar_1;
> FAILED: SemanticException [Error 10016]: Line 1:15 Argument type mismatch 'value': The
1st argument of function IN_FILE must be a string but org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableHiveVarcharObjectInspector@10f1f34a
was given.
> {code}



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

Mime
View raw message