Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> FLATTEN is not working


Copy link to this message
-
Re: FLATTEN is not working
Hi Harsha,

I am getting output as  below with the new script. It is not transposed

(xxxxx,(11,44,77),(22,55,88),(33,66,99))
Also , there is no guarantee that in input that there would be only 3
values in each field separated by comma(,). There can be variable number of
values.

Thanks

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB