create table xxxx ().. [COLLECTION ITEMS TERMINATED BY char] [MAP KEYS TERMINATED BY char] collection items terminated by ',' map keys terminated by ':' works in many cases
On Wed, Jan 20, 2016 at 9:07 PM, Buntu Dev <buntu...@gmail.com> wrote: > I found the brickhouse Hive udf `json_map' that seems to convert to map of > given type. > > Thanks! > > On Wed, Jan 20, 2016 at 2:03 PM, Buntu Dev <buntu...@gmail.com> wrote: > >> I got json string of the form: >> >> {"k1":"v1","k2":"v2,"k3":"v3"} >> >> How would I go about converting this to a map<string, string>? >> >> Thanks! >> > >