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