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

Switch to Threaded View
Pig >> mail # user >> NOT matches

Copy link to this message
Re: NOT matches

On 9/26/10 10:50 AM, "Russell Jurney" <[EMAIL PROTECTED]> wrote:

> How do you filter a relation by a field NOT matching a regex?

B = FILTER A BY NOT(field_foo matches 'test');

> You would think this would work, but it does not:  B = FILTER A BY field_foo
> NOT matches 'test'

Yes, I think it would make sense to support this sytnax as well. It is more
readable. It already supports 'is not null', so this will be consistent.

> Russ