Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> complex datatypes filling

Copy link to this message
Re: complex datatypes filling
remember you can always setup a stream job to do any wild and crazy custom
thing you want. see the tranform() function documentation.  Its really
quite easy. honest.
On Thu, Jan 16, 2014 at 9:39 PM, Bogala, Chandra Reddy <

> Hi,
>   I found lot of examples to map json data into hive complex data types
> (map, array , struct etc). But I don’t see anywhere filling complex data
> types with nested sql  query ( I.e group by few columns(key) and array of
> struct(multiple columns) containing  result values ).
> So that it will be easy for me to map back into embedded/nested json
> document.
> Thanks,
> Chandra