hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aniket Mokashi (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-3044) INDEX UDF is not working
Date Wed, 22 Aug 2012 22:23:42 GMT

     [ https://issues.apache.org/jira/browse/HIVE-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aniket Mokashi reassigned HIVE-3044:
------------------------------------

    Assignee: Aniket Mokashi  (was: Chinna Rao Lalam)
    
> 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
>            Assignee: Aniket Mokashi
>
> 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<int>) 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

        

Mime
View raw message