[ https://issues.apache.org/jira/browse/HIVE-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-4494: ------------------------------ Attachment: HIVE-4494.D10653.2.patch omalley updated the revision "HIVE-4494 [jira] ORC map columns get class cast exception in some context". Added the equals methods so that the schema conversion is handled better as suggested by Pamela. Reviewers: JIRA REVISION DETAIL https://reviews.facebook.net/D10653 CHANGE SINCE LAST DIFF https://reviews.facebook.net/D10653?vs=33351&id=33387#toc AFFECTED FILES data/files/orc_create.txt ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcStruct.java ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcUnion.java ql/src/test/queries/clientpositive/orc_create.q ql/src/test/results/clientpositive/orc_create.q.out To: JIRA, omalley Cc: pamelavagata > 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