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 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.
 
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