Thanks Shahab and William I am now clear about The count functionality.But
stil I have a doubt in the functioning of UDF in general.
a=load 'movies' using PigStorage() as (name:chararray,
b=group movies by stars;
c= foreach b genearte myudf(a);
In this case what would be the input to the udf : the entire group or a
single tupple of that group.
I think the input would be a single tupple of that group for each
itteration but not sure.
On Tue, Jul 22, 2014 at 5:30 PM, Shahab Yunus <[EMAIL PROTECTED]>
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