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 Plain View
Pig >> mail # user >> removing lines with missing values


Copy link to this message
-
removing lines with missing values
Hi
I have dataset in some form

F1, f2......fn

Now sometimes f1 is empty sometimes f2 and so on
Basically what I want is anytime any field is empty ignore that entry.
Now one way to do is using filter f1!='' and so on.
But that would be an ugly statement.
Is there a better way to do this
+
Cheolsoo Park 2012-11-15, 18:01
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