hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinna Rao Lalam (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-1958) Not able to get the output for Map datatype using ResultSet
Date Fri, 04 Feb 2011 13:53:28 GMT
Not able to get the output for Map datatype using ResultSet
-----------------------------------------------------------

                 Key: HIVE-1958
                 URL: https://issues.apache.org/jira/browse/HIVE-1958
             Project: Hive
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 0.5.0
         Environment: Hadoop 0.20.1, Hive0.5.0 and SUSE Linux Enterprise Server 10 SP2 (i586)
- Kernel 2.6.16.60-0.21-smp (5).
            Reporter: Chinna Rao Lalam
            Assignee: Chinna Rao Lalam
            Priority: Minor


Not able to retrieve the data for the Map data type using HiveResultSet API's.

Ex:
{noformat}
create table maptable(details map<string,int>) row format delimited map keys terminated
by '#';
load data LOCAL inpath '/home/chinna/maptest.txt' overwrite into table maptable;
{noformat}

*Input Data*
{noformat}
key1#100
key2#200
{noformat}

Retrieved using resultset API's

*Output*
{noformat}
Row of map {}
Row of map {}
{noformat}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message