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

Switch to Threaded View
Pig, mail # user - Regex expression in FOREACH


Copy link to this message
-
Regex expression in FOREACH
praveenesh kumar 2012-02-10, 11:22
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