Pig, mail # user - Re: Extending Pig SUM function - 2014-04-15, 00:05
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Extending Pig SUM function
You can do SUM( a.values is null ? 1 : 0) as totalvalue.

Thanks
Krishnan
On Mon, Apr 14, 2014 at 4:43 PM, Koppula, Abhilash Reddy <
[EMAIL PROTECTED]> wrote:
 
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