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 Plain View
Pig >> mail # user >> FLATTEN is not working


+
Mix Nin 2013-03-07, 00:41
+
Harsha 2013-03-07, 01:29
+
Mix Nin 2013-03-07, 01:46
+
Harsha 2013-03-07, 02:00
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

+
Mix Nin 2013-03-07, 20:43
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