[ 
https://issues.apache.org/jira/browse/HIVE-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652214#comment-13652214
 ] 

Kevin Wilfong commented on HIVE-4494:
-------------------------------------

+1

Go ahead and commit if tests pass.
                
> ORC map columns get class cast exception in some context
> --------------------------------------------------------
>
>                 Key: HIVE-4494
>                 URL: https://issues.apache.org/jira/browse/HIVE-4494
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: HIVE-4494.D10653.1.patch, HIVE-4494.D10653.2.patch
>
>
> Setting up the test case like:
> {quote}
> create table map_text (
>   name string,
>   m map<string,string>
> ) row format delimited
>     fields terminated by '|'
>     collection items terminated by ','
>     map keys terminated by ':';
> create table map_orc (
>   name string,
>   m map<string,string>
> ) stored as orc;
> cat map.txt
> name1|key11:value11,key12:value12,key13:value13
> name2|key21:value21,key22:value22,key23:value23
> name3|key31:value31,key32:value32,key33:value33
> load data local       inpath 'map.txt' into table map_text;
> insert overwrite table map_orc select * from map_text;
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to