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 3AD39C256 for ; Wed, 23 May 2012 04:24:46 +0000 (UTC) Received: (qmail 65809 invoked by uid 500); 23 May 2012 04:24:46 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 65317 invoked by uid 500); 23 May 2012 04:24:43 -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 65275 invoked by uid 500); 23 May 2012 04:24:41 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 65261 invoked by uid 99); 23 May 2012 04:24:41 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 04:24:41 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BF9C7141822 for ; Wed, 23 May 2012 04:24:40 +0000 (UTC) Date: Wed, 23 May 2012 04:24:40 +0000 (UTC) From: "Kristam Subba Swathi (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1549785859.10529.1337747080787.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HIVE-3044) INDEX UDF is not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Kristam Subba Swathi created HIVE-3044: ------------------------------------------ Summary: INDEX UDF is not working Key: HIVE-3044 URL: https://issues.apache.org/jira/browse/HIVE-3044 Project: Hive Issue Type: Bug Components: UDF Affects Versions: 0.8.1 Reporter: Kristam Subba Swathi Steps to reproduce ---------------------- Create the table and load data Execute the index query Please find the sample code {code} createStatement.executeQuery("create table sample4(number array) partitioned by (part2 STRING)"); createStatement.executeQuery("load data local inpath '/home/hivecurwork/data/array.txt' into table sample4 partition (part2='x')"); ResultSet executeQuery1 = createStatement.executeQuery("select index(number,3) from sample4"); while(executeQuery1.next()) { System.out.println("res:"+executeQuery1.getString(1)); } {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira