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 >> distinct at field level


Copy link to this message
-
distinct at field level
Hi All,I have use DISTINCT operator for record level filter. I was wondering if there is anything for a field-level? I have data in the following format:
Column1 Column2A               X1B               X1C               X1B               X2C               X2
I want to o/p to be:Column1 Column2A               X1B               X2
Can anyone please point me in the right direction?    
 
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