Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E79211489 for ; Thu, 19 Jun 2014 04:14:25 +0000 (UTC) Received: (qmail 9667 invoked by uid 500); 19 Jun 2014 04:14:24 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 9550 invoked by uid 500); 19 Jun 2014 04:14:24 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 9335 invoked by uid 500); 19 Jun 2014 04:14:24 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 9309 invoked by uid 99); 19 Jun 2014 04:14:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2014 04:14:24 +0000 Date: Thu, 19 Jun 2014 04:14:24 +0000 (UTC) From: "Ashish Kumar Singh (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6637) UDF in_file() doesn't take CHAR or VARCHAR as input MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Kumar Singh updated HIVE-6637: ------------------------------------- Attachment: HIVE-6637.patch RB: https://reviews.apache.org/r/22772/ > 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.12.0 > Reporter: Xuefu Zhang > Assignee: Ashish Kumar Singh > Attachments: HIVE-6637.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)