You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2014/07/15 01:10:05 UTC
[jira] [Updated] (HIVE-6637) UDF in_file() doesn't take CHAR or
VARCHAR as input
[ https://issues.apache.org/jira/browse/HIVE-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang updated HIVE-6637:
------------------------------
Tags: TODOC14
Resolution: Fixed
Fix Version/s: 0.14.0
Status: Resolved (was: Patch Available)
Patch committed to trunk. Thanks to Ashish for the contribution.
> 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
> Fix For: 0.14.0
>
> 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)