Home | About | Sematext search-lucene.com search-hadoop.com
 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
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