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 >> Problem in understanding UDF COUNT


Copy link to this message
-
RE: Problem in understanding UDF COUNT
In this case does the b refer to the tupples corresponding to a single
group. If so I still did not get the point because b is a bag that contains
all the records and not only the records of a single group

On Jul 21, 2014 8:33 PM, <[EMAIL PROTECTED]> wrote:
me after 1.5 year's experience with pig. In mathematics and logic,
quantifiers (like "for each", "there exist") bind variables that occur in
their scope:
x* in the following subexpression. IMO this is an unnecessary stumbling
block to people learning pig, who have a background in math or logic.
 "foreach (group, b) in c" but I don't know how feasible that would be.
in the COUNT(b) function.

 
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