Home | About | Sematext search-lucene.com search-hadoop.com
 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?

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