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

Switch to Threaded View
Pig >> mail # user >> working with data with varying column length


Copy link to this message
-
working with data with varying column length
I would like to remove the first two columns of data from data with varying column lengths.

For example:

row1: $0 $1 $2 $3 $4
row2: $0 $1 $2
row3: $0 $1 $2 $3 $4 $5
I would like to get rid of $0 and $1 from all the rows.