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

Switch to Plain View
Pig >> mail # user >> Removing directory if counts match


Copy link to this message
-
Removing directory if counts match
Hell There,

I'm trying to create a pig scrip that performs a line count on two
different inputs and deletes one of them if they match up.

Is there any sort of pig or grunt syntax to say if (count1 == count2) rmr
/some/path/

Thanks,
Charlie
+
Jonathan Coveney 2012-10-04, 21:23