Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Setting up the test case like:
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:value33load data local inpath 'map.txt' into table map_text;
insert overwrite table map_orc select * from map_text;