You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Steven Wong (JIRA)" <ji...@apache.org> on 2011/02/10 00:18:57 UTC
[jira] Resolved: (HIVE-1958) Not able to get the output for Map
datatype using ResultSet
[ https://issues.apache.org/jira/browse/HIVE-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Wong resolved HIVE-1958.
-------------------------------
Resolution: Duplicate
Should have been fixed by HIVE-1378.
> 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