One (inefficient) way I can think of would be to flatten the bags and then check. You should also check out the latest documentation http://hadoop.apache.org/pig/docs/r0.4.0/piglatin_reference.html
- Nikhil Gupta <http://stanford.edu/~nikgupta> 2009/10/15 Juan Francisco Contreras Gaitan <[email protected]> > > Hello, > Sorry for the naive question, but is there an easy way (operator or > similar) to know if an element belongs to a bag? I couldn't find it in the > documentation. > Best,jfcg > _________________________________________________________________ > ¿Estás fuera de temporada? Entra ya en Nueva Temporada y entérate antes que > nadie de sobre famosos, moda, belleza y el look que se lleva este otoño. > http://events.es.msn.com/entretenimiento/nueva-temporada/vuelta-al-cole/ >
