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

Switch to Threaded View
Pig, mail # user - Removing directory if counts match


Copy link to this message
-
Re: Removing directory if counts match
Jonathan Coveney 2012-10-04, 21:23
No, you cannot do this, but using python for control flow is a good match
for this.

2012/10/4 Hailey Charlie <[EMAIL PROTECTED]>

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