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 >> Regex expression in FOREACH


Copy link to this message
-
Regex expression in FOREACH
Is it possible to specify regex expressions in FOREACH statement to
generate only selected columns as specified by the regex ?

Suppose I want to generate only those columns that ends with 'XYZ'  , Is it
possible to do in Pig using some regex?

Thanks,
Praveenesh
+
Grig Gheorghiu 2012-02-10, 18:08
+
praveenesh kumar 2012-02-10, 19:30
+
Alan Gates 2012-02-11, 18:28
+
praveenesh kumar 2012-02-11, 17:19
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