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

Switch to Threaded View
Pig, mail # user - Accessing first element in nested bag.


Copy link to this message
-
Accessing first element in nested bag.
Benjamin Juhn 2012-07-07, 22:37
Hi there,

I have a bag with the following schema and I'm having trouble accessing the first chararray element.
{{someString: chararray}}

Can someone advise on the correct syntax?

Thanks,
Ben